Fix signal handlers arguments

This commit is contained in:
Benedikt Ziemons 2020-11-14 18:56:50 +01:00
parent 277f16d1f1
commit fd60cef69b
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -36,15 +36,15 @@ class PodKeeper:
self.checking = threading.Event()
self.waiter = threading.Event()
def destroy(self):
def destroy(self, signum, stackframe):
self.stopping.set()
self.waiter.set()
def reload(self):
def reload(self, signum, stackframe):
self.reloading.set()
self.waiter.set()
def check(self):
def check(self, signum, stackframe):
self.checking.set()
self.waiter.set()