Correct indent. Use signum is not None instead of type(signum) != type(None)

This commit is contained in:
Bas Stottelaar
2014-04-09 17:10:46 +02:00
parent 0411bb6b44
commit 60ea86d499

View File

@@ -1090,7 +1090,7 @@ def start():
started = True
def sig_handler(signum=None, frame=None):
if type(signum) != type(None):
if signum is not None:
logger.info("Signal %i caught, saving and exiting...", signum)
shutdown()