Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix CSIT broken issue when numa_node value is -1 on single Socket platform
[csit.git]
/
resources
/
libraries
/
python
/
ContainerUtils.py
diff --git
a/resources/libraries/python/ContainerUtils.py
b/resources/libraries/python/ContainerUtils.py
index
54bbdbb
..
478a978
100644
(file)
--- a/
resources/libraries/python/ContainerUtils.py
+++ b/
resources/libraries/python/ContainerUtils.py
@@
-479,9
+479,7
@@
class ContainerEngine(object):
class LXC(ContainerEngine):
"""LXC implementation."""
class LXC(ContainerEngine):
"""LXC implementation."""
- def __init__(self):
- """Initialize LXC object."""
- super(LXC, self).__init__()
+ # Implicit constructor is inherited.
def acquire(self, force=True):
"""Acquire a privileged system object where configuration is stored.
def acquire(self, force=True):
"""Acquire a privileged system object where configuration is stored.
@@
-672,9
+670,7
@@
class LXC(ContainerEngine):
class Docker(ContainerEngine):
"""Docker implementation."""
class Docker(ContainerEngine):
"""Docker implementation."""
- def __init__(self):
- """Initialize Docker object."""
- super(Docker, self).__init__()
+ # Implicit constructor is inherited.
def acquire(self, force=True):
"""Pull an image or a repository from a registry.
def acquire(self, force=True):
"""Pull an image or a repository from a registry.