summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2022-05-19 20:32:26 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-20 12:44:12 +0100
commit830f5c610d63adaed331525f03700964f86bfcbe (patch)
tree9f3a787eb2f7bd823b80e12ec0c28f39ad83bc23
parent52710c2672a29bbab89a0abefdee68ca74458d27 (diff)
downloadserenity-830f5c610d63adaed331525f03700964f86bfcbe.zip
Meta: Fix unused variable warning in lint-ports.py
This went undetected because I broke CI so the Python linter didn't run.
-rwxr-xr-xMeta/lint-ports.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Meta/lint-ports.py b/Meta/lint-ports.py
index 1436428f1d..2d852bf46c 100755
--- a/Meta/lint-ports.py
+++ b/Meta/lint-ports.py
@@ -228,20 +228,17 @@ def check_descriptions_for_port_patches(patches):
patch_names = set(Path(x).stem for x in patch_files)
- patches_ok = True
for patch_name in patch_names:
if patch_name not in readme_contents:
print(f"Ports/{port}/patches/{patch_name}.patch does not appear to be described in"
" the corresponding ReadMe.md")
all_good = False
- patches_ok = False
for patch_name in readme_contents:
if patch_name not in patch_names:
print(f"Ports/{port}/patches/{patch_name}.patch is described in ReadMe.md, "
"but does not actually exist")
all_good = False
- patches_ok = False
return all_good