debiann/lib/python/debian_linux/config.py:

Correctly handle base featureset sections.

svn path=/dists/sid/linux-2.6/; revision=18822
This commit is contained in:
Bastian Blank 2012-03-12 21:30:31 +00:00
parent f867fb53df
commit 3ea10b8113
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class ConfigCoreHierarchy(object):
for section in iter(config):
if section[0].startswith('featureset-'):
real = (section[-1], None, section[0].lstrip('featureset-'))
real = (section[-1], None, section[0][11:])
else:
real = (section[-1],) + section[1:]
ret[real] = config[section]