[kernel] r10597 - people/waldi/dkt/lib/dkt/imageconfig
Bastian Blank
waldi at alioth.debian.org
Tue Feb 19 14:04:22 UTC 2008
Author: waldi
Date: Tue Feb 19 14:04:21 2008
New Revision: 10597
Log:
lib/dkt/imageconfig/base.py, lib/dkt/imageconfig/interfaces.py:
Add package property.
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 14:04:21 2008
@@ -38,4 +38,8 @@
def features(self):
return self.context.get('image', 'features').split()
+ @property
+ def package(self):
+ return self.context.get('image', 'package', None)
+
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 14:04:21 2008
@@ -6,6 +6,7 @@
file = Attribute("")
version = Attribute("")
features = Attribute("")
+ package = Attribute("")
class IImageLinuxInitramfsConfig(Interface):
pass
More information about the Kernel-svn-changes
mailing list