Avoid decorators to be compatible with python2.3 (for now).
This commit is contained in:
parent
24e1196507
commit
6e76b0da05
1 changed files with 1 additions and 1 deletions
|
@ -19,10 +19,10 @@ class ConfigFileDoesNotExistError(CannotReadConfigError):
|
||||||
class App(object):
|
class App(object):
|
||||||
name = None
|
name = None
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def run(class_):
|
def run(class_):
|
||||||
app = class_()
|
app = class_()
|
||||||
return app.main()
|
return app.main()
|
||||||
|
run = classmethod(run)
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
self.setup_basic_logging()
|
self.setup_basic_logging()
|
||||||
|
|
Loading…
Reference in a new issue