Commit 1d6569cf authored by Brett Cannon's avatar Brett Cannon

Fix a bug where an attribute was lacking an object to work off of.

Related to the fix for issue #9572. Thanks to Łukasz Czuja for catching the
bug.
parent f52c2c63
......@@ -499,7 +499,7 @@ class _SourceFileLoader(_FileLoader, SourceLoader):
continue
# If can't get proper access, then just forget about writing
# the data.
elif errno == errno.EACCES:
elif exc.errno == errno.EACCES:
return
else:
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