[kernel] r10715 - people/waldi/dkt/lib/dkt/bootconfig
Bastian Blank
waldi at alioth.debian.org
Wed Mar 5 13:46:52 UTC 2008
Author: waldi
Date: Wed Mar 5 13:46:51 2008
New Revision: 10715
Log:
lib/dkt/bootconfig/hooks.py: Return only one list.
Modified:
people/waldi/dkt/lib/dkt/bootconfig/hooks.py
Modified: people/waldi/dkt/lib/dkt/bootconfig/hooks.py
==============================================================================
--- people/waldi/dkt/lib/dkt/bootconfig/hooks.py (original)
+++ people/waldi/dkt/lib/dkt/bootconfig/hooks.py Wed Mar 5 13:46:51 2008
@@ -7,8 +7,11 @@
class HookSort(object):
def boot_config_sort(self, bootconfigs, systemconfig):
- bootconfigs.sort()
- return bootconfigs
+ ret = []
+ for i in bootconfigs:
+ i.sort()
+ ret.extend(i)
+ return ret
register('bootconfig-partition-rescue', IBootConfigPartition, HookPartitionRescue(), default_registry.PRIORITY_FIRST)
register('bootconfig-sort', IBootConfigSort, HookSort(), default_registry.PRIORITY_LAST)
More information about the Kernel-svn-changes
mailing list