[Treepkg-commits] r193 - trunk/recipes/kde_enterprise_4
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Apr 30 12:30:05 CEST 2009
Author: bh
Date: 2009-04-30 12:30:04 +0200 (Thu, 30 Apr 2009)
New Revision: 193
Modified:
trunk/recipes/kde_enterprise_4/base.py
Log:
Refactor the enterprise4 BasePackageTrack to make it possible to
override the tag export in derived classes
Modified: trunk/recipes/kde_enterprise_4/base.py
===================================================================
--- trunk/recipes/kde_enterprise_4/base.py 2009-04-30 10:21:01 UTC (rev 192)
+++ trunk/recipes/kde_enterprise_4/base.py 2009-04-30 10:30:04 UTC (rev 193)
@@ -129,13 +129,16 @@
def export_sources(self, to_dir):
if self.tag_url is not None:
- logging.info("Exporting sources from %s to %r",
- self.tag_url, to_dir)
- treepkg.subversion.export(self.tag_url, to_dir)
+ self.export_tag(self.tag_url, to_dir)
else:
super(BasePackageTrack, self).export_sources(to_dir)
+ def export_tag(self, tag_url, to_dir):
+ logging.info("Exporting sources from %s to %r",
+ tag_url, to_dir)
+ treepkg.subversion.export(tag_url, to_dir)
+
def define_kdepim_packager(basename=None, external_subdirs=None):
caller_globals = inspect.currentframe().f_back.f_globals
More information about the Treepkg-commits
mailing list