Fix run_pro2cmake only_qtbase_main_modules option

There was a missing f prefix for the f-string, and thus no
replacements were done.

Change-Id: If778d4ce25905c302de22a76c27af00a63f3c515
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Alexandru Croitor 2019-09-25 13:47:01 +02:00
parent 981cfe7d79
commit 7bed351c6c

View File

@ -110,7 +110,7 @@ def find_all_pro_files(base_path: str, args: argparse.Namespace):
"concurrent",
"xml",
]
path_suffixes = ["src/{m}/{m}.pro" for m in main_modules]
path_suffixes = [f"src/{m}/{m}.pro" for m in main_modules]
for path_suffix in path_suffixes:
if path.endswith(path_suffix):