X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fvpp_object.py;h=1b0fadae569c9fda56a5af5cc4dec9f7cf38bde5;hb=8006c6a;hp=088cc39ce0a90742e0022c433881a01ac764b74b;hpb=f051072f8518097cbce1a8a20510c4e43cb7167c;p=vpp.git diff --git a/test/vpp_object.py b/test/vpp_object.py index 088cc39ce0a..1b0fadae569 100644 --- a/test/vpp_object.py +++ b/test/vpp_object.py @@ -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)))