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

Holger Levsen holger at layer-acht.org
Sat Jun 3 19:55:56 UTC 2017


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

holger pushed a commit to branch master-for-0.77
in repository piuparts.

commit d769e96e1b9d47bc7b8b6d0992491f3482b4ffd5
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>
---
 debian/changelog    | 2 ++
 piuparts-analyze.py | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5ec636a..45959b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ piuparts (0.77) UNRELEASED; urgency=medium
       + /etc/rc.local
       + /etc/X11/Xwrapper.config  (Closes: #859929)
       + /var/lib/apt/daily_lock
+  * piuparts-analyze.py:
+    - Do not ignore Ctrl-C.
   * scripts/post_distupgrade_base_cleanup: Remove (transitional) sysvinit from
     stretch.  (Closes: #860819)
 
diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index 5286118..a7e3bb4 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -222,6 +222,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