[kernel-team] 18/86: lib/kconfigeditor/kconfig/package/files.py: Really ignore duplicates.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:34:54 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 aba7ac8c0695e7e38e619003e029fc02231d9d14
Author: Bastian Blank <waldi at debian.org>
Date:   Tue Mar 11 19:54:29 2008 +0000

    lib/kconfigeditor/kconfig/package/files.py: Really ignore duplicates.
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=10813
---
 utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
index 34301b1..312bc9c 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
@@ -116,7 +116,9 @@ class File(dict):
             if isinstance(i, FileConfig):
                 e = self.get(i.name, None)
                 if e is not None:
-                    if i.prompt:
+                    if i.name in processed:
+                        pass
+                    elif i.prompt:
                         processed.add(i.name)
                         ret.append(e)
                     else:

-- 
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