# HG changeset patch # User Bernhard Herzog # Date 1231867225 0 # Node ID 169f0373fbd57bebf34f548a46832a9579ece536 # Parent 15de52d55432a985b7dad5c046db2797e9d4e558 Fix problem with determining whether a given revision has already been packaged diff -r 15de52d55432 -r 169f0373fbd5 treepkg/packager.py --- a/treepkg/packager.py Tue Jan 13 16:58:28 2009 +0000 +++ b/treepkg/packager.py Tue Jan 13 17:20:25 2009 +0000 @@ -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)