diff options
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/exception.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/exception.py b/pym/portage/exception.py index dca1100e6..ae655542a 100644 --- a/pym/portage/exception.py +++ b/pym/portage/exception.py @@ -91,8 +91,9 @@ class AlarmSignal(TimeoutException): self.frame = frame @classmethod - def register(cls): + def register(cls, time): signal.signal(signal.SIGALRM, cls._signal_handler) + signal.alarm(time) @classmethod def unregister(cls): |