aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/scripts/util/propscheck.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/scripts/util/propscheck.py b/etc/scripts/util/propscheck.py
index e76644fdf..bc6b633dd 100644
--- a/etc/scripts/util/propscheck.py
+++ b/etc/scripts/util/propscheck.py
@@ -97,9 +97,7 @@ def process_file(file: str):
disabled = set()
with open(file) as f:
- for line_number, line in enumerate(f, start=1)
- for text in f:
- line_number += 1
+ for line_number, text in enumerate(f, start=1):
text = text.strip()
if not text:
continue