diff options
| -rw-r--r-- | bitbake/lib/bb/tests/utils.py | 2 | ||||
| -rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/utils.py b/bitbake/lib/bb/tests/utils.py index a035ccf179..6ded4dfd13 100644 --- a/bitbake/lib/bb/tests/utils.py +++ b/bitbake/lib/bb/tests/utils.py | |||
| @@ -176,7 +176,7 @@ do_functionname() { | |||
| 176 | # Test file doesn't get modified with some the same values | 176 | # Test file doesn't get modified with some the same values |
| 177 | self._testeditfile({'THIS': ('that', None, 0, True), | 177 | self._testeditfile({'THIS': ('that', None, 0, True), |
| 178 | 'OTHER': ('anothervalue', None, 0, True), | 178 | 'OTHER': ('anothervalue', None, 0, True), |
| 179 | 'MULTILINE3': (' c1 c2 c3', None, 4, False)}, self._origfile) | 179 | 'MULTILINE3': (' c1 c2 c3 ', None, 4, False)}, self._origfile) |
| 180 | 180 | ||
| 181 | def test_edit_metadata_file_1(self): | 181 | def test_edit_metadata_file_1(self): |
| 182 | 182 | ||
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index e9ad68f2d7..8d7df13be7 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
| @@ -1158,7 +1158,7 @@ def edit_metadata(meta_lines, variables, varfunc, match_overrides=False): | |||
| 1158 | if in_var.endswith('()'): | 1158 | if in_var.endswith('()'): |
| 1159 | if full_value.count('{') - full_value.count('}') >= 0: | 1159 | if full_value.count('{') - full_value.count('}') >= 0: |
| 1160 | continue | 1160 | continue |
| 1161 | full_value = full_value[:-1] | 1161 | full_value = full_value[:-1] |
| 1162 | if handle_var_end(): | 1162 | if handle_var_end(): |
| 1163 | updated = True | 1163 | updated = True |
| 1164 | checkspc = True | 1164 | checkspc = True |
