diff options
Diffstat (limited to 'util/cmake/helper.py')
| -rw-r--r-- | util/cmake/helper.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 34c702193fc..2524a3ef7f5 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -787,7 +787,7 @@ platform_mapping = { def map_platform(platform: str) -> str: - """ Return the qmake platform as cmake platform or the unchanged string. """ + """Return the qmake platform as cmake platform or the unchanged string.""" return platform_mapping.get(platform, platform) @@ -935,5 +935,9 @@ def _set_up_py_parsing_nicer_debug_output(pp): pp._defaultExceptionDebugAction = decrease_indent(pp._defaultExceptionDebugAction) elif hasattr(pp.core, "_default_start_debug_action"): pp.core._default_start_debug_action = increase_indent(pp.core._default_start_debug_action) - pp.core._default_success_debug_action = decrease_indent(pp.core._default_success_debug_action) - pp.core._default_exception_debug_action = decrease_indent(pp.core._default_exception_debug_action) + pp.core._default_success_debug_action = decrease_indent( + pp.core._default_success_debug_action + ) + pp.core._default_exception_debug_action = decrease_indent( + pp.core._default_exception_debug_action + ) |
