From: Zac Medico Date: Sat, 4 Sep 2010 01:11:00 +0000 (-0700) Subject: Make AlarmSignal._signal_handler() restore the default SIGALRM X-Git-Tag: v2.2_rc75~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22ee35ed55d8b89340bda893e3951d3125e8369c;p=portage.git Make AlarmSignal._signal_handler() restore the default SIGALRM handler. --- diff --git a/pym/portage/exception.py b/pym/portage/exception.py index ae655542a..bfb90cc16 100644 --- a/pym/portage/exception.py +++ b/pym/portage/exception.py @@ -102,6 +102,7 @@ class AlarmSignal(TimeoutException): @classmethod def _signal_handler(cls, signum, frame): + signal.signal(signal.SIGALRM, signal.SIG_DFL) raise AlarmSignal("alarm signal", signum=signum, frame=frame)