new style classes
This commit is contained in:
parent
b81e681131
commit
70319dbb1e
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ class Module:
|
||||||
def create_backend(self, weboob, name, config, storage):
|
def create_backend(self, weboob, name, config, storage):
|
||||||
return self.klass(weboob, name, config, storage)
|
return self.klass(weboob, name, config, storage)
|
||||||
|
|
||||||
class BackendsConfig:
|
class BackendsConfig(object):
|
||||||
class WrongPermissions(Exception):
|
class WrongPermissions(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
@ -122,7 +122,7 @@ class BackendsConfig:
|
||||||
with open(self.confpath, 'wb') as f:
|
with open(self.confpath, 'wb') as f:
|
||||||
config.write(f)
|
config.write(f)
|
||||||
|
|
||||||
class ModulesLoader:
|
class ModulesLoader(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.modules = {}
|
self.modules = {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue