diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 13:49:59 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 13:49:59 +0200 |
| commit | f8a7510aa52189cbe2953c33324e069d16766a43 (patch) | |
| tree | 4baf76af87a5630332e7fd147bdf9a83a735c5b7 /kconfiglib.py | |
| parent | 820785c8a796125e01c0ecc4e6a2e6866273a376 (diff) | |
Ignore indented .config assignments.
Just noticed that the C implementation does. Haven't run into it in the
wild.
For example, the assignment to B below is ignored:
CONFIG_A=y
CONFIG_B=y
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index ac907f0..8fa7a36 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -290,7 +290,7 @@ class Config(object): if line is None: return - line = line.strip() + line = line.rstrip() set_match = set_re_match(line) if set_match: |
