From da1751dc1b5e2ff67add2b67ae0fa06b3798fa4d Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 3 Dec 2012 13:16:14 -0600 Subject: [PATCH] fixed cronjobs broken in 4278, fixed issue 1190 --- VERSION | 2 +- gluon/rewrite.py | 1 - gluon/widget.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 5a0ccc97..223bb037 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.2.1 (2012-12-03 11:00:04) stable +Version 2.2.1 (2012-12-03 13:15:15) stable diff --git a/gluon/rewrite.py b/gluon/rewrite.py index f6eee386..9ec13e0e 100644 --- a/gluon/rewrite.py +++ b/gluon/rewrite.py @@ -57,7 +57,6 @@ regex_space = re.compile('(\+|\s|%20)+') regex_url = re.compile('^/((?P\w+)(/(?P\w+)(/(?P(?P\w+)(\.(?P[\w.]+))?(?P[/\w@=-]*(\.[/\w@=-]+)*)))?)?)?$') - def _router_default(): "return new copy of default base router" router = Storage( diff --git a/gluon/widget.py b/gluon/widget.py index ce65cb43..1f95efa7 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -931,7 +931,6 @@ def console(): if options.cronjob: global_settings.cronjob = True # tell the world - options.run = False # don't start cron jobs options.plain = True # cronjobs use a plain shell options.nobanner = True options.nogui = True