diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-08 15:54:30 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-09 23:47:02 +0200 |
commit | 4f5c40f9dd187f8295074bab6e8aa6504dd385dd (patch) | |
tree | 6ca1bf43be2c6c75d9a3852c99d729253e76e882 /util | |
parent | f1723ed1c5788fe186cc29e01cb919f635cbd861 (diff) |
pro2cmake: Fix reported make flake8 issues
pro2cmake.py:458:5: F841 local variable 'is_parent_path' is assigned
to but never used
Change-Id: I1c61efe5cf568fa0c99b07eed28b93d3444a5fac
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 8a66e3cfe56e3ec3e1567ecef77ddb6eba9e7238)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index d186d1e628..e4b316e038 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}") |