Avoid decorators to be compatible with python2.3 (for now).

This commit is contained in:
Tommi Virtanen 2007-11-15 21:23:07 +02:00
parent 24e1196507
commit 6e76b0da05

View file

@ -19,10 +19,10 @@ class ConfigFileDoesNotExistError(CannotReadConfigError):
class App(object):
name = None
@classmethod
def run(class_):
app = class_()
return app.main()
run = classmethod(run)
def main(self):
self.setup_basic_logging()