From 22ee35ed55d8b89340bda893e3951d3125e8369c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 3 Sep 2010 18:11:00 -0700 Subject: [PATCH] Make AlarmSignal._signal_handler() restore the default SIGALRM handler. --- pym/portage/exception.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2