From: Guido van Rossum Date: Sun, 15 Apr 2001 12:51:42 +0000 (+0000) Subject: Fix typo in attribute name (file should be filename) found by X-Git-Tag: v2.1c2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=815bee4cf455983e0b9d6c7ebef442141f792050;p=thirdparty%2FPython%2Fcpython.git Fix typo in attribute name (file should be filename) found by Neil Norwitz's PyChecker. --- diff --git a/Lib/netrc.py b/Lib/netrc.py index b9ce6ba4d11d..3f1c7c3c4c73 100644 --- a/Lib/netrc.py +++ b/Lib/netrc.py @@ -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)