[Treepkg-commits] r292 - branches/scratchbox/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Apr 19 12:14:32 CEST 2010
Author: bricks
Date: 2010-04-19 12:14:31 +0200 (Mon, 19 Apr 2010)
New Revision: 292
Modified:
branches/scratchbox/treepkg/packager.py
Log:
added new method SourcePackager get_change_msg to let a sub class change the template
Modified: branches/scratchbox/treepkg/packager.py
===================================================================
--- branches/scratchbox/treepkg/packager.py 2010-04-19 07:42:33 UTC (rev 291)
+++ branches/scratchbox/treepkg/packager.py 2010-04-19 10:14:31 UTC (rev 292)
@@ -207,13 +207,15 @@
self.create_tarball(origtargz, self.work_dir,
os.path.basename(pkgbasedir))
- changemsg = self.changemsg_template % dict(revision=self.revision)
+ changemsg = self.get_change_msg()
self.copy_debian_directory(pkgbasedir, pkgbaseversion,
changemsg)
self.create_source_package(pkgbasedir, origtargz)
self.move_source_package(pkgbasename)
+ def get_change_msg(self):
+ return self.changemsg_template % dict(revision=self.revision)
class BinaryPackager(object):
More information about the Treepkg-commits
mailing list