summaryrefslogtreecommitdiffstats
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-09 23:17:42 +0200
committerDan McGee <dan@archlinux.org>2011-06-09 23:17:42 +0200
commit5fe626c6cc8444603cf7ae5199271b69d38ff255 (patch)
tree8793ac0b30f8863eb4d1d7028ef97291e9279804 /mirrors
parent1840416b9e8892a685202f30b4079fd04607151f (diff)
downloadarchweb-5fe626c6cc8444603cf7ae5199271b69d38ff255.tar.gz
archweb-5fe626c6cc8444603cf7ae5199271b69d38ff255.tar.xz
Management command cleanup
Now that we aren't seeing odd segfaults and hung tasks, we can remove the traceback stuff from the scripts. Also use the 'io' module only, it has been long enough. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/management/commands/mirrorcheck.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py
index ea43d55..7bd79c8 100644
--- a/mirrors/management/commands/mirrorcheck.py
+++ b/mirrors/management/commands/mirrorcheck.py
@@ -45,11 +45,6 @@ class Command(NoArgsCommand):
elif v == 2:
logger.level = logging.DEBUG
- import signal, traceback
- handler = lambda sig, stack: traceback.print_stack(stack)
- signal.signal(signal.SIGQUIT, handler)
- signal.signal(signal.SIGUSR1, handler)
-
return check_current_mirrors()
def check_mirror_url(mirror_url):