[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.45-102-g4c48ac2

Andreas Beckmann debian at abeckmann.de
Fri Aug 3 08:51:36 UTC 2012


The following commit has been merged in the develop branch:
commit 9c1f8b218562704eb1eff19f2ac9e718b57fd0f4
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sat Jul 28 08:26:16 2012 +0200

    p-s: move the SIGHUP test
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-slave.py b/piuparts-slave.py
index cda06a5..0c62b06 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -459,6 +459,8 @@ class Section:
         test_count = 0
         self._check_tarball()
         for package_name, version in self._slave.get_reserved():
+            if got_sighup:
+                break
             test_count += 1
             if package_name in packages_file:
                 package = packages_file[package_name]
@@ -478,8 +480,6 @@ class Section:
             self._slave.forget_reserved(package_name, version)
             if interrupted:
                 raise KeyboardInterrupt
-            if got_sighup:
-                break
         self._talk_to_master()
         return test_count
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list