diff --git a/gluon/newcron.py b/gluon/newcron.py index 8e6497b9..838ce6cc 100644 --- a/gluon/newcron.py +++ b/gluon/newcron.py @@ -47,7 +47,7 @@ def absolute_path_link(path): def stopcron(): - "Graceful shutdown of cron" + """Graceful shutdown of cron""" global _cron_stopping _cron_stopping = True while _cron_subprocs: @@ -59,6 +59,7 @@ def stopcron(): import traceback traceback.print_exc() + class extcron(threading.Thread): def __init__(self, applications_parent, apps=None):