[kernel-team] 66/86: lib/kconfigeditor/package.py: Ignore missing featuresets.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:34:59 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 cdec0509863aae0467e6b9d93ffba695ccedd420
Author: Bastian Blank <waldi at debian.org>
Date:   Tue Feb 8 18:47:14 2011 +0000

    lib/kconfigeditor/package.py: Ignore missing featuresets.
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=16864
---
 utils/kconfigeditor2/lib/kconfigeditor/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/kconfigeditor2/lib/kconfigeditor/package.py b/utils/kconfigeditor2/lib/kconfigeditor/package.py
index f296a00..82fe076 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/package.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/package.py
@@ -61,7 +61,7 @@ class Package(object):
         for filename in self._check_config("%s/config" % arch, arch):
             yield filename, key, kernelarch
 
-        for featureset in self.config['base', arch]['featuresets']:
+        for featureset in self.config['base', arch].get('featuresets', ()):
             for data in self._collect_featureset(arch, featureset):
                 yield data
 

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