diff options
| author | Alexandru Croitor <[email protected]> | 2019-10-10 16:32:19 +0200 |
|---|---|---|
| committer | Alexandru Croitor <[email protected]> | 2019-10-10 14:35:52 +0000 |
| commit | f1be97e01ebb22c4a8c6d2c22f685cd38a097148 (patch) | |
| tree | 95c41e2ab32ba07702a62eecbb7bc2dda1753d97 /util/cmake/configurejson2cmake.py | |
| parent | 174b17d65d2a181502c81cdd490f25da40d1c22d (diff) | |
Reformat conversion scripts with black
Change-Id: Ida7d42dc86c81315bc0727839a620fb68b7f0268
Reviewed-by: Leander Beernaert <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
| -rwxr-xr-x | util/cmake/configurejson2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 38b80e055f0..32394f31c49 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -307,7 +307,7 @@ def map_condition(condition): print(f' XXXX Unknown condition "{match.group(0)}"') has_failed = True else: - mapped_condition += condition[last_pos: match.start(1)] + substitution + mapped_condition += condition[last_pos : match.start(1)] + substitution last_pos = match.end(2) mapped_condition += condition[last_pos:] |
