[kernel-team] 20/86: lib/kconfigeditor/kconfig/menu/all.py: Make anything in arch/ arch-specific.
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 2ab3c75c0b65858782adb2b8e884f3cba18d261b
Author: Bastian Blank <waldi at debian.org>
Date: Thu Mar 13 08:46:41 2008 +0000
lib/kconfigeditor/kconfig/menu/all.py: Make anything in arch/ arch-specific.
svn path=/people/waldi/utils/kconfigeditor2/; revision=10820
---
utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
index c9ddc69..afffa8c 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
@@ -14,8 +14,7 @@ class All(object):
while work:
filename = work.pop(0)
- filename_list = filename.split('/')
- if len(filename_list) > 2 and filename_list[0] == 'arch':
+ if filename.startswith('arch'):
self.filenames_arch[arch].append(filename)
else:
self.filenames_all.append(filename)
--
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