Read about our upcoming Code of Conduct on this issue

Commit bc81e040 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

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 da11c931d269
......@@ -80,7 +80,7 @@ def gignore(root, files, warn, extrapatterns=None):
for f, patlist in pats:
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
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