summaryrefslogtreecommitdiff
path: root/devel/management
diff options
context:
space:
mode:
Diffstat (limited to 'devel/management')
-rw-r--r--devel/management/commands/reporead.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py
index a56fe929..fb3c4a75 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)