[kernel-team] 36/86: lib/kconfigeditor/kconfig/package/files.py: Also accept CONFIG_*=n as unset.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:34:56 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 382f83c4d3f853ee8f5d80a9f544447b30fc7467
Author: Bastian Blank <waldi at debian.org>
Date:   Fri Mar 14 13:19:14 2008 +0000

    lib/kconfigeditor/kconfig/package/files.py: Also accept CONFIG_*=n as unset.
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=10848
---
 utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
index aa4e377..6ddcbe1 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/package/files.py
@@ -212,7 +212,7 @@ class File(dict):
                 i = line.find('=')
                 option = line[7:i]
                 value = line[i+1:]
-                if value in ('y', 'm'):
+                if value in ('y', 'm', 'n'):
                     entry = FileEntryTristate(option, value)
                 else:
                     entry = FileEntryString(option, value)

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