Skip to content

Commit 613d624

Browse files
committed
Fix a bug in catching KeyboardInterrupt
1 parent 5c48070 commit 613d624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bugzilla/_mi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ def main(unittest_bz_instance=None):
651651
except KeyboardInterrupt:
652652
swrite(FLAG_HEAD_STRING)
653653
swrite("Exited at user request")
654-
swrite(FLAG_HEAD_STRING)
654+
swrite(FLAG_TAIL_STRING)
655655
sflush()
656656
sys.exit(0)
657657
except BaseException:

0 commit comments

Comments
 (0)