mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 14:20:45 +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)
|
item = re.sub(r"\(.+\)", "(dummy)", item)
|
||||||
matches.append((i, item))
|
matches.append((i, item))
|
||||||
|
|
||||||
for i, line in matches:
|
for i, item in matches:
|
||||||
if filters.findall(line):
|
if filters.findall(item):
|
||||||
errors.append(self.Error(i, self.helptext))
|
errors.append(self.Error(i, self.helptext))
|
||||||
return self.Result(candidate.path, errors)
|
return self.Result(candidate.path, errors)
|
||||||
|
Loading…
Reference in New Issue
Block a user