[Python-checkins] CVS: python/dist/src/Lib netrc.py,1.11,1.12

Guido van Rossum gvanrossum@users.sourceforge.net
Sun, 15 Apr 2001 05:51:44 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv373

Modified Files:
	netrc.py 
Log Message:
Fix typo in attribute name (file should be filename) found by
Neil Norwitz's PyChecker.


Index: netrc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/netrc.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** netrc.py	2001/03/06 06:33:08	1.11
--- netrc.py	2001/04/15 12:51:42	1.12
***************
*** 11,15 ****
      """Exception raised on syntax errors in the .netrc file."""
      def __init__(self, msg, filename=None, lineno=None):
!         self.filename = file
          self.lineno = lineno
          self.msg = msg
--- 11,15 ----
      """Exception raised on syntax errors in the .netrc file."""
      def __init__(self, msg, filename=None, lineno=None):
!         self.filename = filename
          self.lineno = lineno
          self.msg = msg