From 6e76b0da0574290a7c98e6eca2dea842d82b459e Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 15 Nov 2007 21:23:07 +0200 Subject: [PATCH] Avoid decorators to be compatible with python2.3 (for now). --- gitosis/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitosis/app.py b/gitosis/app.py index 99830b0..fa9772b 100644 --- a/gitosis/app.py +++ b/gitosis/app.py @@ -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()