Fix indentation inside group_and_print_sub_dirs
Change-Id: I34a737ae4914795f96900f2b72d0d15a3f5652d5 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
91634c3c9b
commit
255a6d91db
@ -1479,7 +1479,7 @@ def handle_subdir(
|
|||||||
grouped_sub_dirs[condition_key] = sub_dir_list_by_key
|
grouped_sub_dirs[condition_key] = sub_dir_list_by_key
|
||||||
|
|
||||||
# Print the groups.
|
# Print the groups.
|
||||||
ind = spaces(1)
|
ind = spaces(indent)
|
||||||
for condition_key in grouped_sub_dirs:
|
for condition_key in grouped_sub_dirs:
|
||||||
cond_ind = ind
|
cond_ind = ind
|
||||||
if condition_key:
|
if condition_key:
|
||||||
@ -2838,14 +2838,7 @@ def cmakeify_scope(
|
|||||||
# Wrap top level examples project with some commands which
|
# Wrap top level examples project with some commands which
|
||||||
# are necessary to build examples as part of the overall
|
# are necessary to build examples as part of the overall
|
||||||
# build.
|
# build.
|
||||||
buffer_value = dedent(
|
buffer_value = f"\nqt_examples_build_begin()\n\n{buffer_value}\nqt_examples_build_end()"
|
||||||
"""\
|
|
||||||
qt_examples_build_begin()
|
|
||||||
|
|
||||||
{buffer_value}
|
|
||||||
qt_examples_build_end()
|
|
||||||
"""
|
|
||||||
)
|
|
||||||
|
|
||||||
cm_fh.write(buffer_value)
|
cm_fh.write(buffer_value)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user