[Piuparts-commits] [piuparts] 15/16: p-a: don't ignore Ctrl-C

Holger Levsen holger at layer-acht.org
Thu Apr 13 15:04:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit fcb1caf1ec7fe54ed5fef7fba57f3f38ab789445
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Apr 11 16:14:22 2017 +0200

    p-a: don't ignore Ctrl-C
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 piuparts-analyze.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index 5d0ecca..dc279c3 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -224,6 +224,8 @@ def mark_logs_with_reported_bugs():
                                     break
             if not moved:
                 write_bug_file(failed_log, abugs + bugs)
+        except KeyboardInterrupt:
+            raise
         except:
             print('ERROR processing %s' % failed_log)
             print sys.exc_info()[0]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list