Commit 77e6f3fb0ae by Georges Racinet

py3: fixing a pyflakes error

The question would be why this isn't problematic in py2 case,
perhaps just a more advanced pyflakes taking advantage of
better locality of variables in py3?
parent da11c931d26
......@@ -80,7 +80,7 @@ def gignore(root, files, warn, extrapatterns=None):
for f, patlist in pats:
try:
matchmod.match(root, b'', [], patlist)
except error.Abort as inst:
except error.Abort:
# in this case, patlist is ['include: FILE'], and
# inst[0] should already include FILE
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment