[Python-checkins] CVS: python/dist/src/Lib dumbdbm.py,1.16,1.17 ftplib.py,1.63,1.64
Tim Peters
tim_one@users.sourceforge.net
Fri, 15 Feb 2002 23:34:21 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv32747/python/Lib
Modified Files:
dumbdbm.py ftplib.py
Log Message:
Whitespace normalization.
Index: dumbdbm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dumbdbm.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** dumbdbm.py 21 Dec 2001 05:13:37 -0000 1.16
--- dumbdbm.py 16 Feb 2002 07:34:19 -0000 1.17
***************
*** 151,155 ****
if self._index is not None:
self._commit()
!
--- 151,155 ----
if self._index is not None:
self._commit()
!
Index: ftplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/ftplib.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** ftplib.py 28 Dec 2001 20:54:55 -0000 1.63
--- ftplib.py 16 Feb 2002 07:34:19 -0000 1.64
***************
*** 352,362 ****
if not acct: acct = ''
if user == 'anonymous' and passwd in ('', '-'):
! # If there is no anonymous ftp password specified
! # then we'll just use anonymous@
! # We don't send any other thing because:
! # - We want to remain anonymous
! # - We want to stop SPAM
! # - We don't want to let ftp sites to discriminate by the user,
! # host or country.
passwd = passwd + 'anonymous@'
resp = self.sendcmd('USER ' + user)
--- 352,362 ----
if not acct: acct = ''
if user == 'anonymous' and passwd in ('', '-'):
! # If there is no anonymous ftp password specified
! # then we'll just use anonymous@
! # We don't send any other thing because:
! # - We want to remain anonymous
! # - We want to stop SPAM
! # - We don't want to let ftp sites to discriminate by the user,
! # host or country.
passwd = passwd + 'anonymous@'
resp = self.sendcmd('USER ' + user)