Use class as super() argument
Fix a few typos using the inherited class for super() Change-Id: If9f2f423f136fb78ee93018d5c299d0dae603aad
This commit is contained in:
parent
e54ba47871
commit
6fe1ef94f1
@ -132,7 +132,7 @@ class LocalLoopNode(NodeBase):
|
||||
class LocalLoop(PluginBase):
|
||||
|
||||
def __init__(self, config, defaults):
|
||||
super(PluginBase, self).__init__()
|
||||
super(LocalLoop, self).__init__()
|
||||
self.node = LocalLoopNode(config, defaults)
|
||||
|
||||
def get_nodes(self):
|
||||
|
@ -42,7 +42,7 @@ class TestANode(NodeBase):
|
||||
class TestA(PluginBase):
|
||||
|
||||
def __init__(self, config, defaults):
|
||||
super(PluginBase, self).__init__()
|
||||
super(TestA, self).__init__()
|
||||
self.node = TestANode(config['name'])
|
||||
|
||||
def get_nodes(self):
|
||||
|
@ -39,7 +39,7 @@ class TestBNode(NodeBase):
|
||||
class TestB(PluginBase):
|
||||
|
||||
def __init__(self, config, defaults):
|
||||
super(PluginBase, self).__init__()
|
||||
super(TestB, self).__init__()
|
||||
self.node = TestBNode(config['name'],
|
||||
config['base'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user