diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/management/commands/reporead.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index a56fe92..fb3c4a7 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -76,8 +76,9 @@ class Command(BaseCommand): logger.level = DEBUG import signal, traceback - signal.signal(signal.SIGQUIT, - lambda sig, stack: traceback.print_stack(stack)) + handler = lambda sig, stack: traceback.print_stack(stack) + signal.signal(signal.SIGQUIT, handler) + signal.signal(signal.SIGUSR1, handler) return read_repo(arch, filename, options) |