Mercurial > treepkg
changeset 238:169f0373fbd5
Fix problem with determining whether a given revision has already been packaged
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 13 Jan 2009 17:20:25 +0000 |
parents | 15de52d55432 |
children | 99be67db8a12 |
files | treepkg/packager.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)