Fix typo in attribute name (file should be filename) found by
Neil Norwitz's PyChecker.
This commit is contained in:
parent
0d1b7ea365
commit
815bee4cf4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue