git.samba.org
/
third_party
/
pexpect
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a75faec
)
Resolve AttributeError in restore_ignored_signals
author
Jeff Quast
<contact@jeffquast.com>
Mon, 24 Nov 2014 04:17:35 +0000
(20:17 -0800)
committer
Jeff Quast
<contact@jeffquast.com>
Mon, 24 Nov 2014 04:17:35 +0000
(20:17 -0800)
tests/PexpectTestCase.py
patch
|
blob
|
history
diff --git
a/tests/PexpectTestCase.py
b/tests/PexpectTestCase.py
index 32a3e75851efdbb2bce7ca7c698a52c677bfa70f..62c7938554d638b6c8e3480a16691bd6213693c6 100644
(file)
--- a/
tests/PexpectTestCase.py
+++ b/
tests/PexpectTestCase.py
@@
-54,7
+54,7
@@
class PexpectTestCase(unittest.TestCase):
self.restore_ignored_signals = [
value for value in (signal.SIGHUP, signal.SIGINT,)
if signal.getsignal(value) == signal.SIG_IGN]
- if signal.SIGHUP in self.store_ignored_signals:
+ if signal.SIGHUP in self.
re
store_ignored_signals:
# sighup should be set to default handler
signal.signal(signal.SIGHUP, signal.SIG_DFL)
if signal.SIGINT in self.restore_ignored_signals: