From 7bed351c6c19cb6cd2b1ef8cf2695e1a120ab2c3 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 25 Sep 2019 13:47:01 +0200 Subject: 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 --- util/cmake/run_pro2cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/cmake/run_pro2cmake.py') diff --git a/util/cmake/run_pro2cmake.py b/util/cmake/run_pro2cmake.py index 16ad0534cd..cb7181449a 100755 --- a/util/cmake/run_pro2cmake.py +++ b/util/cmake/run_pro2cmake.py @@ -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): -- cgit v1.2.3