Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-1508 python3 tests: python3 repr.
[vpp.git]
/
test
/
vpp_object.py
diff --git
a/test/vpp_object.py
b/test/vpp_object.py
index
088cc39
..
8fe549e
100644
(file)
--- a/
test/vpp_object.py
+++ b/
test/vpp_object.py
@@
-2,6
+2,8
@@
from abc import ABCMeta, abstractmethod
from abc import ABCMeta, abstractmethod
+import six
+
class VppObject(object):
""" Abstract vpp object """
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:
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)))
raise Exception("Couldn't remove configuration for object(s): %s" %
(", ".join(str(x) for x in failed)))