Merge pull request #860 from BuhtigithuB/pep8-newcron-py

Improve PEP8 gluon/newcron.py
This commit is contained in:
mdipierro
2015-03-20 13:23:09 -05:00

View File

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