changeset 301:3fcebc5cf93c

Do not require subclassing of recipes.kde_enterprise_3_5.base.BaseRevisionPackager. Make usable as RevisionPackager directly by setting its source_packager_cls attribute to the BaseSourcePackager from the same module.
author Bernhard Herzog <bh@intevation.de>
date Tue, 24 Nov 2009 16:35:41 +0000
parents e82fb08781a2
children 020421cd3ee2
files recipes/kde_enterprise_3_5/base.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/recipes/kde_enterprise_3_5/base.py	Fri Nov 20 21:35:12 2009 +0000
+++ b/recipes/kde_enterprise_3_5/base.py	Tue Nov 24 16:35:41 2009 +0000
@@ -41,6 +41,8 @@
 
 class BaseRevisionPackager(treepkg.packager.RevisionPackager):
 
+    source_packager_cls = BaseSourcePackager
+
     def __init__(self, *args, **kw):
         self.pkg_date = kw.pop("pkg_date",
                                time.strftime("%Y%m%d", time.localtime()))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)