Prevent spurious warnings on array references.
This commit is contained in:
parent
80c34215f9
commit
2c5b884f91
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def reindent(name, infp, outfp):
|
|||
lasttag = ""
|
||||
countlines = 0
|
||||
countblanks = 0
|
||||
multitag = re.compile(r"\].*\[")
|
||||
multitag = re.compile(r"\[a-z]].*\[[a-z]") # Avoid triggering on arrays
|
||||
for line in infp:
|
||||
countlines += 1
|
||||
# Detect things we can't handle
|
||||
|
|
Loading…
Add table
Reference in a new issue