From 8ac3191e339790b1f3f08bfc9ce7f48c32781d8c Mon Sep 17 00:00:00 2001 From: Hardirc Date: Fri, 6 Mar 2015 22:14:10 -0500 Subject: [PATCH] Improve PEP8 gluon/newcron.py --- gluon/newcron.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):