[kernel-team] 72/86: kconfigeditor/kconfig/config.py: Remove special case for incomplete choices.
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Dec 21 00:35:00 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 e9529ddb6c029b8c54e79ba00fe090cb001a7d3a
Author: Bastian Blank <waldi at debian.org>
Date: Fri Sep 13 21:51:30 2013 +0000
kconfigeditor/kconfig/config.py: Remove special case for incomplete choices.
svn path=/people/waldi/utils/kconfigeditor2/; revision=20615
---
utils/kconfigeditor2/kconfigeditor/kconfig/config.py | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/utils/kconfigeditor2/kconfigeditor/kconfig/config.py b/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
index 078da21..17c53e2 100644
--- a/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
+++ b/utils/kconfigeditor2/kconfigeditor/kconfig/config.py
@@ -51,22 +51,14 @@ class File(dict):
def _write_entry_choice(self, processed, visible, entry):
ret = []
- nr = 0
for subentry in entry:
if isinstance(subentry, MenuEntryConfig):
r = list(self._write_entry_config(processed, visible, subentry))
ret.extend(r)
- if r:
- nr += 1
-
- incomplete = len(entry) != nr
if ret:
- if incomplete and 0:
- yield '## choice: INCOMPLETE: %s' % entry.prompt
- else:
- yield '## choice: %s' % entry.prompt
+ yield '## choice: %s' % entry.prompt
for i in ret:
yield i
yield '## end choice'
--
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