diff treepkg/packager.py @ 276:f3dee156e3e3

Add pkgbaseversion parameter to the prepare_sources_for_tarball method
author Bernhard Herzog <bh@intevation.de>
date Thu, 07 May 2009 16:01:10 +0000
parents 2676abfc0e1d
children 2b9d94f0ccad
line wrap: on
line diff
--- a/treepkg/packager.py	Thu May 07 15:35:28 2009 +0000
+++ b/treepkg/packager.py	Thu May 07 16:01:10 2009 +0000
@@ -84,7 +84,7 @@
         return pkgbaseversion, pkgbasedir
 
 
-    def prepare_sources_for_tarball(self, pkgbasedir):
+    def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         """Prepare the exported sources prior to creating the tarball.
 
         The default implementation does nothing.  Derived classes should
@@ -201,7 +201,7 @@
         origtargz = os.path.join(self.work_dir,
                                  pkgbasename + ".orig.tar.gz")
 
-        self.prepare_sources_for_tarball(pkgbasedir)
+        self.prepare_sources_for_tarball(pkgbasedir, pkgbaseversion)
 
         self.create_tarball(origtargz, self.work_dir,
                             os.path.basename(pkgbasedir))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)