[Piuparts-commits] [piuparts] 01/20: Revert "p-s: skip section if tarball is missing"

Holger Levsen holger at moszumanska.debian.org
Sat Nov 23 20:23:33 UTC 2013


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

holger pushed a commit to branch develop
in repository piuparts.

commit 803a909e0b718fad4131b40e990b3e75138fea6e
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Nov 9 16:55:47 2013 +0100

    Revert "p-s: skip section if tarball is missing"
    
    This reverts commit 26c59de03f43dcbf98906f1007f2482cf24b11bb.
---
 piuparts-slave.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/piuparts-slave.py b/piuparts-slave.py
index c37ced2..fc1dc52 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -415,10 +415,8 @@ class Section:
 
         create_or_replace_chroot_tgz(self._config, self._get_tarball(),
                                      self._config.get_start_distro())
-        exists = os.path.exists(self._get_tarball())
 
         os.chdir(oldcwd)
-        return exists
 
     def _count_submittable_logs(self):
         files = 0
@@ -595,12 +593,8 @@ class Section:
                     self._error_wait_until = time.time() + 900
                     return 0
 
-        if not self._check_tarball():
-            logging.error("could not find the chroot-tgz tarball")
-            self._error_wait_until = time.time() + 900
-            return 0
-
         test_count = 0
+        self._check_tarball()
         for package_name, version in self._slave.get_reserved():
             self._throttle_if_overloaded()
             if interrupted or got_sighup:

-- 
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