diff options
Diffstat (limited to 'python/ovs/process.py')
| -rw-r--r-- | python/ovs/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ovs/process.py b/python/ovs/process.py index 094e08533..7367f7939 100644 --- a/python/ovs/process.py +++ b/python/ovs/process.py @@ -18,7 +18,7 @@ import signal def _signal_status_msg(type, signr): s = "%s by signal %d" % (type, signr) for name in signal.__dict__: - if name.startswith("SIG") and signal.__dict__[name] == signr: + if name.startswith("SIG") and getattr(signal, name) == signr: return "%s (%s)" % (s, name) return s |
