Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
link_morgue: fix possible NameError
· c9994683
Julien Cristau
authored
Jun 25, 2019
If signal.signal() returned None we'd fail to restore the handlers.
c9994683
Merge remote-tracking branch 'jcristau/morgue-nameerror'
· 83a9e7a6
Ansgar
authored
Jun 25, 2019
83a9e7a6
Show whitespace changes
Inline
Side-by-side
scripts/debian/link_morgue
View file @
83a9e7a6
...
...
@@ -57,7 +57,7 @@ def IgnoreSignals():
yield
for
sig
,
handler
in
handlers
:
if
handler
is
None
:
handler
=
SIG_DFL
handler
=
signal
.
SIG_DFL
signal
.
signal
(
sig
,
handler
)
...
...