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