Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vlib: remove unused simple counters fields
[vpp.git]
/
test
/
vpp_object.py
diff --git
a/test/vpp_object.py
b/test/vpp_object.py
index
df44efb
..
8dd2afa
100644
(file)
--- a/
test/vpp_object.py
+++ b/
test/vpp_object.py
@@
-1,13
+1,9
@@
""" abstract vpp object and object registry """
import abc
""" abstract vpp object and object registry """
import abc
-import six
-from six import moves
-
-@six.add_metaclass(abc.ABCMeta)
-class VppObject(object):
+class VppObject(metaclass=abc.ABCMeta):
""" Abstract vpp object """
@abc.abstractmethod
""" Abstract vpp object """
@abc.abstractmethod
@@
-52,7
+48,7
@@
class VppObject(object):
return not self.__eq__(other)
return not self.__eq__(other)
-class VppObjectRegistry
(object)
:
+class VppObjectRegistry:
""" Class which handles automatic configuration cleanup. """
_shared_state = {}
""" Class which handles automatic configuration cleanup. """
_shared_state = {}