port to new borg __init__()
This commit is contained in:
parent
4a96bf99d4
commit
2c8e2d14e4
|
@ -12,7 +12,7 @@ class Factory(Borg):
|
||||||
"""Definition of a class that makes other classes"""
|
"""Definition of a class that makes other classes"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Class initialiser"""
|
"""Class initialiser"""
|
||||||
Borg.__init__(self)
|
Borg.__init__(self, self.__class__.__name__)
|
||||||
self.prepare_attributes()
|
self.prepare_attributes()
|
||||||
|
|
||||||
def prepare_attributes(self):
|
def prepare_attributes(self):
|
||||||
|
|
Loading…
Reference in New Issue