mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-21 20:30:42 +00:00
chore: rename loop var to reflect list item type (#506)
This commit is contained in:
parent
b5bae4d6d9
commit
79d1738322
@ -27,7 +27,7 @@ class CheckFilterSeparation(StandardBase):
|
||||
item = re.sub(r"\(.+\)", "(dummy)", item)
|
||||
matches.append((i, item))
|
||||
|
||||
for i, line in matches:
|
||||
if filters.findall(line):
|
||||
for i, item in matches:
|
||||
if filters.findall(item):
|
||||
errors.append(self.Error(i, self.helptext))
|
||||
return self.Result(candidate.path, errors)
|
||||
|
Loading…
Reference in New Issue
Block a user