summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-09-08 15:54:30 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-09-09 10:21:27 +0200
commit8a66e3cfe56e3ec3e1567ecef77ddb6eba9e7238 (patch)
tree54d55612af14d95ad3c0602a8009e6f5799ff0ec /util/cmake/pro2cmake.py
parent21a281d9622b22fa8bd6f731226eff8e5ee9802d (diff)
pro2cmake: Fix reported make flake8 issues
pro2cmake.py:458:5: F841 local variable 'is_parent_path' is assigned to but never used Pick-to: 6.2 Change-Id: I1c61efe5cf568fa0c99b07eed28b93d3444a5fac Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 7a522b494b..9a780e6132 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -455,7 +455,6 @@ def process_qrc_file(
# Small not very thorough check to see if this a shared qrc resource
# pattern is mostly used by the tests.
- is_parent_path = dir_name.startswith("..")
if not os.path.isfile(filepath):
raise RuntimeError(f"Invalid file path given to process_qrc_file: {filepath}")