summaryrefslogtreecommitdiffstats
path: root/test/vpp_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_object.py')
-rw-r--r--test/vpp_object.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vpp_object.py b/test/vpp_object.py
index 088cc39ce0a..8fe549e74ff 100644
--- a/test/vpp_object.py
+++ b/test/vpp_object.py
@@ -2,6 +2,8 @@
from abc import ABCMeta, abstractmethod
+import six
+
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(six.reprlib(obj))
raise Exception("Couldn't remove configuration for object(s): %s" %
(", ".join(str(x) for x in failed)))