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)
_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes