[kernel] r10327 - people/waldi/dkt/lib/dkt/imageconfig

Bastian Blank waldi at alioth.debian.org
Thu Jan 31 10:39:32 UTC 2008


Author: waldi
Date: Thu Jan 31 10:39:32 2008
New Revision: 10327

Log:
lib/dkt/imageconfig: Change class names.


Modified:
   people/waldi/dkt/lib/dkt/imageconfig/base.py
   people/waldi/dkt/lib/dkt/imageconfig/linux_initramfs.py
   people/waldi/dkt/lib/dkt/imageconfig/linux_xen.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	Thu Jan 31 10:39:32 2008
@@ -5,7 +5,7 @@
 from dkt.interface import implements
 from dkt.interface.adapter import registry
 
-class BaseConfig(object):
+class ImageBaseConfig(object):
     implements(interfaces.IImageBaseConfig)
 
     @classmethod
@@ -37,4 +37,4 @@
     def features(self):
         return self.context.get('image', 'features').split()
 
-registry.register([config_interfaces.IConfig], interfaces.IImageBaseConfig, '', BaseConfig._factory)
+registry.register([config_interfaces.IConfig], interfaces.IImageBaseConfig, '', ImageBaseConfig._factory)

Modified: people/waldi/dkt/lib/dkt/imageconfig/linux_initramfs.py
==============================================================================
--- people/waldi/dkt/lib/dkt/imageconfig/linux_initramfs.py	(original)
+++ people/waldi/dkt/lib/dkt/imageconfig/linux_initramfs.py	Thu Jan 31 10:39:32 2008
@@ -5,7 +5,7 @@
 from dkt.interface import implements
 from dkt.interface.adapter import registry
 
-class LinuxInitramfsConfig(object):
+class ImageLinuxInitramfsConfig(object):
     implements(interfaces.IImageLinuxInitramfsConfig)
 
     @classmethod
@@ -18,4 +18,4 @@
         self.context = context
         self._mutable = config_interfaces.IMutableConfig.providedBy(context)
 
-registry.register([config_interfaces.IConfig], interfaces.IImageLinuxInitramfsConfig, '', LinuxInitramfsConfig._factory)
+registry.register([config_interfaces.IConfig], interfaces.IImageLinuxInitramfsConfig, '', ImageLinuxInitramfsConfig._factory)

Modified: people/waldi/dkt/lib/dkt/imageconfig/linux_xen.py
==============================================================================
--- people/waldi/dkt/lib/dkt/imageconfig/linux_xen.py	(original)
+++ people/waldi/dkt/lib/dkt/imageconfig/linux_xen.py	Thu Jan 31 10:39:32 2008
@@ -5,7 +5,7 @@
 from dkt.interface import implements
 from dkt.interface.adapter import registry
 
-class LinuxXenConfig(object):
+class ImageLinuxXenConfig(object):
     implements(interfaces.IImageLinuxXenConfig)
 
     @classmethod
@@ -17,4 +17,4 @@
     def __init__(self, context):
         self.context = context
 
-registry.register([config_interfaces.IConfig], interfaces.IImageLinuxXenConfig, '', LinuxXenConfig._factory)
+registry.register([config_interfaces.IConfig], interfaces.IImageLinuxXenConfig, '', ImageLinuxXenConfig._factory)



More information about the Kernel-svn-changes mailing list