Merge pull request #860 from BuhtigithuB/pep8-newcron-py
Improve PEP8 gluon/newcron.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user