VPP-1506: dump local punts and registered punt sockets
[vpp.git] / test / vpp_object.py
index 088cc39..1b0fada 100644 (file)
@@ -2,6 +2,8 @@
 
 from abc import ABCMeta, abstractmethod
 
+from six import moves
+
 
 class VppObject(object):
     """ Abstract vpp object """
@@ -81,6 +83,6 @@ class VppObjectRegistry(object):
         if failed:
             logger.error("REG: Couldn't remove configuration for object(s):")
             for obj in failed:
-                logger.error(repr(obj))
+                logger.error(moves.reprlib.repr(obj))
             raise Exception("Couldn't remove configuration for object(s): %s" %
                             (", ".join(str(x) for x in failed)))