summaryrefslogtreecommitdiff
path: root/scripts/update_lit_checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_lit_checks.py')
-rwxr-xr-xscripts/update_lit_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_lit_checks.py b/scripts/update_lit_checks.py
index 345ff39d0..b6bb213a8 100755
--- a/scripts/update_lit_checks.py
+++ b/scripts/update_lit_checks.py
@@ -88,7 +88,7 @@ def itertests(args):
def find_run_lines(test, lines):
- line_matches = [RUN_LINE_RE.match(l) for l in lines]
+ line_matches = [RUN_LINE_RE.match(line) for line in lines]
matches = [match.group(1) for match in line_matches if match]
if not matches:
warn(f'No RUN lines found in {test}. Ignoring.')