[Piuparts-commits] rev 639 - trunk

Holger Levsen holger at alioth.debian.org
Thu Feb 11 14:42:24 UTC 2010


Author: holger
Date: 2010-02-11 14:42:24 +0000 (Thu, 11 Feb 2010)
New Revision: 639

Modified:
   trunk/piuparts-slave.py
Log:
improve robustness

Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py	2010-02-11 14:41:02 UTC (rev 638)
+++ trunk/piuparts-slave.py	2010-02-11 14:42:24 UTC (rev 639)
@@ -232,7 +232,7 @@
         oldcwd = os.getcwd()
         os.chdir(self._slave_directory)
 
-        if not os.path.exists(self._config["chroot-tgz"]):
+        if self._config["chroot-tgz"] and not os.path.exists(self._config["chroot-tgz"]):
             create_chroot(self._config, self._config["chroot-tgz"], self._config["distro"])
 
         if (self._config["upgrade-test-distros"] and self._config["upgrade-test-chroot-tgz"]




More information about the Piuparts-commits mailing list