timeloop/looper/helpers.py
2018-09-18 15:10:59 +05:30

4 lines
95 B
Python

from exceptions import ServiceExit
def service_shutdown(signum, frame):
raise ServiceExit