[kernel] r10604 - people/waldi/dkt/lib/dkt/imageconfig
    Bastian Blank 
    waldi at alioth.debian.org
       
    Tue Feb 19 17:41:14 UTC 2008
    
    
  
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
 
    
    
More information about the Kernel-svn-changes
mailing list