Commit 6c52849e authored by Guido Trotter's avatar Guido Trotter
Browse files

SignalHandler, only accept list of signals

utils.SignalHandler can accept either a list of signals or a single
signal, but it's always called with a list. Removing the single signal
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent 565fe4c4
......@@ -2089,11 +2089,7 @@ class SignalHandler(object):
@param signum: Single signal number or set of signal numbers
if isinstance(signum, (int, long)):
self.signum = set([signum])
self.signum = set(signum)
self.signum = set(signum)
self.called = False
self._previous = {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment