pylint : fixed redefined-outer-name

This commit is contained in:
Klaus Zerwes
2022-09-17 19:26:21 +02:00
parent abce3ae9f0
commit 99fef08e97

View File

@@ -40,10 +40,10 @@ def debugmsg(msg):
"""debug msg"""
print(msg, file=sys.stderr, flush=True)
def checkignoreregex(line):
def checkignoreregex(checkline):
"""check if we should ignore replacement"""
for exre in _general_exclude_regex:
if exre.match(line):
if exre.match(checkline):
return True
return False