Use class as super() argument

Fix a few typos using the inherited class for super()

Change-Id: If9f2f423f136fb78ee93018d5c299d0dae603aad
This commit is contained in:
Ian Wienand 2017-06-08 09:43:47 +10:00
parent e54ba47871
commit 6fe1ef94f1
3 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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'])