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