Author: waldi Date: Tue Feb 19 17:41:13 2008 New Revision: 10604 Log: lib/dkt/imageconfig/base.py, lib/dkt/imageconfig/interfaces.py: Provide a way to get the underlying config.
Modified: people/waldi/dkt/lib/dkt/imageconfig/base.py people/waldi/dkt/lib/dkt/imageconfig/interfaces.py Modified: people/waldi/dkt/lib/dkt/imageconfig/base.py ============================================================================== --- people/waldi/dkt/lib/dkt/imageconfig/base.py (original) +++ people/waldi/dkt/lib/dkt/imageconfig/base.py Tue Feb 19 17:41:13 2008 @@ -42,4 +42,7 @@ def package(self): return self.context.get('image', 'package', None) + def get_config(self): + return config_interfaces.IConfig(self.context) + registry.register([config_interfaces.IConfig], interfaces.IImageBaseConfig, '', ImageBaseConfig._factory) Modified: people/waldi/dkt/lib/dkt/imageconfig/interfaces.py ============================================================================== --- people/waldi/dkt/lib/dkt/imageconfig/interfaces.py (original) +++ people/waldi/dkt/lib/dkt/imageconfig/interfaces.py Tue Feb 19 17:41:13 2008 @@ -8,6 +8,9 @@ features = Attribute("") package = Attribute("") + def get_config(): + pass + class IImageLinuxInitramfsConfig(Interface): pass _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes