[kernel] r10594 - people/waldi/dkt/lib/dkt/bin

Bastian Blank waldi at alioth.debian.org
Tue Feb 19 12:47:45 UTC 2008


Author: waldi
Date: Tue Feb 19 12:47:44 2008
New Revision: 10594

Log:
lib/dkt/bin/base.py: Update.


Modified:
   people/waldi/dkt/lib/dkt/bin/base.py

Modified: people/waldi/dkt/lib/dkt/bin/base.py
==============================================================================
--- people/waldi/dkt/lib/dkt/bin/base.py	(original)
+++ people/waldi/dkt/lib/dkt/bin/base.py	Tue Feb 19 12:47:44 2008
@@ -1,5 +1,5 @@
 from dkt.hooks import default_registry
-from dkt.hooks import interfaces as hooks_interfaces
+from dkt.hooks.interfaces import *
 from dkt.imageconfig.list import ImageConfigList
 from dkt.systemconfig.file import SystemConfig
 from dkt.systemconfig.defaults import CONFIG_FILE, IMAGECONFIG_DIRS
@@ -25,7 +25,7 @@
     def generate_bootconfig(self):
         # XXX
         bootconfig = None
-        bootconfig = default_registry.run(hooks_interfaces.IBootConfigPrepare, 'boot_config_prepare', bootconfig, self.config, self.imageconfigs)
-        bootconfig = default_registry.run(hooks_interfaces.IBootConfigPartition, 'boot_config_partition', bootconfig, self.config)
-        self.bootconfig = default_registry.run(hooks_interfaces.IBootConfigSort, 'boot_config_sort', bootconfig, self.config)
+        bootconfig = default_registry.run(IBootConfigPrepare, 'boot_config_prepare', bootconfig, self.config, self.imageconfigs)
+        bootconfig = default_registry.run(IBootConfigPartition, 'boot_config_partition', bootconfig, self.config)
+        self.bootconfig = default_registry.run(IBootConfigSort, 'boot_config_sort', bootconfig, self.config)
 



More information about the Kernel-svn-changes mailing list