Skip to content

Commit

Permalink
Merge pull request #40041 from terminalmage/issue40011
Browse files Browse the repository at this point in the history
Fix transposed lines in salt.utils.process
  • Loading branch information
Nicole Thomas committed Mar 15, 2017
2 parents ee7f3b1 + 5b5d1b3 commit 837432d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/utils/process.py
Expand Up @@ -672,8 +672,8 @@ def default_signals(*signals):
old_signals = {}
for signum in signals:
try:
signal.signal(signum, signal.SIG_DFL)
old_signals[signum] = signal.getsignal(signum)
signal.signal(signum, signal.SIG_DFL)
except ValueError as exc:
# This happens when a netapi module attempts to run a function
# using wheel_async, because the process trying to register signals
Expand Down

0 comments on commit 837432d

Please sign in to comment.