Mercurial > treepkg
changeset 544:822a4d31efda
short revision doesn't depend on pkg_revision
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Tue, 01 Feb 2011 09:00:11 +0000 |
parents | 247a10201cdd |
children | 991bc01ae668 |
files | treepkg/packager.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/packager.py Wed Jan 12 16:26:29 2011 +0000 +++ b/treepkg/packager.py Tue Feb 01 09:00:11 2011 +0000 @@ -59,7 +59,7 @@ self.rules_revision = self.parent.rules_revision # TODO short revision should be determined with scm working copy self.short_revision = self.revision - if len(self.pkg_revision) > 7: + if len(self.short_revision) > 7: self.short_revision = self.short_revision[:7] localtime = time.localtime() self.pkg_date = time.strftime("%Y%m%d", localtime)