changeset 285:bfcb6bef7f58

kde-i18n recipe: Use the enterprise_version already provided by the base class.
author Bernhard Herzog <bh@intevation.de>
date Tue, 04 Aug 2009 10:30:48 +0000
parents 860bb7269caa
children 4376c5315c72
files recipes/kde_enterprise_3_5/kde_i18n.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/kde_enterprise_3_5/kde_i18n.py	Tue Aug 04 10:29:53 2009 +0000
+++ b/recipes/kde_enterprise_3_5/kde_i18n.py	Tue Aug 04 10:30:48 2009 +0000
@@ -44,8 +44,7 @@
     pkg_basename = "kde-i18n"
 
     def determine_package_version(self, directory):
-        enterprise_version = (time.strftime("%Y%m%d", time.localtime()) \
-                              + "." + str(self.revision))
+        enterprise_version = self.enterprise_version
         kdepimversion = "3.5.5"
         version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s"
         return version_template % locals()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)