From d4297938c5c4468cce53cb2fb835c4564806f7f7 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Wed, 4 Jan 2017 19:54:18 +0100 Subject: [PATCH] Accept third 'frame' argument to _cleanup signal handler --- src/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon.py b/src/daemon.py index e0dc358..37f5a84 100644 --- a/src/daemon.py +++ b/src/daemon.py @@ -161,7 +161,7 @@ class Daemon(object): # pragma: no cover return pid - def _cleanup(self, sig=None): + def _cleanup(self, sig=None, frame=None): """ Remvoe pid files and call registered shutodnw callbacks. """