[Treepkg-commits] r164 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 13 18:20:25 CET 2009


Author: bh
Date: 2009-01-13 18:20:25 +0100 (Tue, 13 Jan 2009)
New Revision: 164

Modified:
   trunk/treepkg/packager.py
Log:
Fix problem with determining whether a given revision has already been packaged


Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py	2009-01-13 16:58:28 UTC (rev 163)
+++ trunk/treepkg/packager.py	2009-01-13 17:20:25 UTC (rev 164)
@@ -450,7 +450,7 @@
         current_revision = (self.last_changed_revision(),
                             self.rules_working_copy.last_changed_revision())
         logging.info("New revision is %s", current_revision)
-        if (current_revision, 1) not in self.get_revision_numbers():
+        if current_revision not in self.get_revision_numbers():
             logging.info("Revision %s has not been packaged yet",
                          current_revision)
             return self.revision_packager_cls(self, *current_revision)



More information about the Treepkg-commits mailing list