mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
expunge_logs: Abort on keyboard interrupt
(imported from commit b1fe93859c15e447c0935fcfb0e83a200bc016ba)
This commit is contained in:
parent
a8ffa339de
commit
5be28bbbb4
@ -61,6 +61,8 @@ class Command(BaseCommand):
|
||||
for infile in args:
|
||||
try:
|
||||
expunge(infile)
|
||||
except KeyboardInterrupt:
|
||||
raise
|
||||
except:
|
||||
print >>sys.stderr, 'WARNING: Could not expunge from', infile
|
||||
traceback.print_exc()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user