[Treepkg-commits] r280 - branches/scratchbox/recipes/kde/maemo

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 16 10:26:50 CEST 2010


Author: bricks
Date: 2010-04-16 10:26:49 +0200 (Fri, 16 Apr 2010)
New Revision: 280

Modified:
   branches/scratchbox/recipes/kde/maemo/generic.py
Log:
update generic file to use string revision numbers instead of int


Modified: branches/scratchbox/recipes/kde/maemo/generic.py
===================================================================
--- branches/scratchbox/recipes/kde/maemo/generic.py	2010-04-15 15:10:34 UTC (rev 279)
+++ branches/scratchbox/recipes/kde/maemo/generic.py	2010-04-16 08:26:49 UTC (rev 280)
@@ -26,7 +26,7 @@
 
     def determine_package_version(self, directory):
         enterprise_version = self.enterprise_version
-        return self.track.version_template % locals()
+        return self.track.version_template % dict(revision=self.revision)
 
     def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         self.update_version_numbers(pkgbasedir)
@@ -107,7 +107,7 @@
                           tag_url)
         if match:
             date = match.group("date")
-            baserev = int(match.group("baserev"))
+            baserev = match.group("baserev")
             xml_log = subversion.log_xml(tag_url, baserev)
             revisions = subversion.extract_tag_revisions(xml_log)
             tag_change_count = len(revisions)



More information about the Treepkg-commits mailing list