Skip to content

Commit

Permalink
Merge pull request #143 from bpwook/alarm-fix
Browse files Browse the repository at this point in the history
Fixed SIG issue

Reviewed by Rob Dobson ([email protected])
Signed-off by Jun Wook Kwak ([email protected])
  • Loading branch information
bpwook committed May 20, 2016
2 parents a169145 + 43a71da commit 67b6702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autocertkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1910,8 +1910,8 @@ def __call__(self, *args):
try:
result = self.function(*args)
finally:
signal.alarm(0)
signal.signal(signal.SIGALRM, old)
signal.alarm(0)
return result

def xml_to_dicts(xml, tag):
Expand Down

0 comments on commit 67b6702

Please sign in to comment.