Commit 69d931a1 authored by Guido van Rossum's avatar Guido van Rossum

Fix typo in attribute name (file should be filename) found by

Neil Norwitz's PyChecker.
parent 50d24a02
......@@ -10,7 +10,7 @@ __all__ = ["netrc", "NetrcParseError"]
class NetrcParseError(Exception):
"""Exception raised on syntax errors in the .netrc file."""
def __init__(self, msg, filename=None, lineno=None):
self.filename = file
self.filename = filename
self.lineno = lineno
self.msg = msg
Exception.__init__(self, msg)
......
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