From 8a66e3cfe56e3ec3e1567ecef77ddb6eba9e7238 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 8 Sep 2021 15:54:30 +0200 Subject: 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 --- util/cmake/pro2cmake.py | 1 - 1 file changed, 1 deletion(-) (limited to 'util/cmake/pro2cmake.py') 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}") -- cgit v1.2.3