[kernel-team] 50/86: lib/kconfigeditor/kconfig/menu/file.py: Ignore unparsable prompt.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:34:58 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 882938d23f25587f766dd6a729966da573c54786
Author: Bastian Blank <waldi at debian.org>
Date:   Thu Oct 29 09:43:38 2009 +0000

    lib/kconfigeditor/kconfig/menu/file.py: Ignore unparsable prompt.
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=14489
---
 utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/file.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/file.py b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/file.py
index 7801cc8..21f13dd 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/file.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/file.py
@@ -221,9 +221,7 @@ $"""
             if match:
                 self.entry.prompt = match.group('text1') or match.group('text2') or match.group('text3')
                 text = match.group('expression')
-            else:
-                raise ParseException("Can't find a prompt")
-            _Expression(self, text)
+                _Expression(self, text)
 
     def process_bool(self, text, ind):
         self.entry.type = MenuEntryConfig.TYPE_BOOL

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