[Piuparts-commits] rev 852 - trunk

Holger Levsen holger at alioth.debian.org
Fri Dec 31 13:58:53 UTC 2010


Author: holger
Date: 2010-12-31 13:58:53 +0000 (Fri, 31 Dec 2010)
New Revision: 852

Modified:
   trunk/piuparts-slave.py
Log:
fix syntax and thus logic error

Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py	2010-12-31 13:39:53 UTC (rev 851)
+++ trunk/piuparts-slave.py	2010-12-31 13:58:53 UTC (rev 852)
@@ -293,7 +293,7 @@
                     packages_files[distro] = fetch_packages_file(self._config, distro)
             # don't use the packages_file from the default distro (sid) for upgrade-tests
             # if no distro is given, rather use the last one of the tested distros
-            if self._config["upgrade-test-distros"] and not self._config["distro"]:
+            if self._config["upgrade-test-distros"] and self._config["distro"] is not None:
               packages_file = packages_files[distro]
             else:
               packages_file = packages_files[self._config["distro"]]




More information about the Piuparts-commits mailing list