[kernel-team] 76/86: kconfigeditor/kconfig/config.py: Use sorted().

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:35:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch benh/kconfigeditor2
in repository kernel-team.

commit 3b423356b66b3b714b5bc893d39758867b6424dd
Author: Bastian Blank <waldi at debian.org>
Date:   Fri Sep 13 21:57:29 2013 +0000

    kconfigeditor/kconfig/config.py: Use sorted().
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=20619
---
 utils/kconfigeditor2/kconfigeditor/kconfig/config.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/utils/kconfigeditor2/kconfigeditor/kconfig/config.py b/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
index 81d8114..5f30e65 100644
--- a/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
+++ b/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
@@ -23,9 +23,7 @@ class File(dict):
             yield '##'
             yield '## file: unknown'
             yield '##'
-            unprocessed = list(unprocessed)
-            unprocessed.sort()
-            for name in unprocessed:
+            for name in sorted(unprocessed):
                 for i in self[name].write():
                     yield i
             yield ''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list