[Python-checkins] python/dist/src/Lib urllib2.py,1.53.6.5,1.53.6.6 (original) (raw)
mhammond at users.sourceforge.net mhammond at users.sourceforge.net
Sun May 9 20:32:37 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib/email MIMEMultipart.py, 1.3, 1.4
- Next message: [Python-checkins] python/dist/src/Lib urllib2.py,1.65,1.66
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14860
Modified Files: Tag: release23-maint urllib2.py Log Message: Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as implemented in patch [ 851736 ].
Index: urllib2.py
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v retrieving revision 1.53.6.5 retrieving revision 1.53.6.6 diff -C2 -d -r1.53.6.5 -r1.53.6.6 *** urllib2.py 6 May 2004 01:40:57 -0000 1.53.6.5 --- urllib2.py 10 May 2004 00:32:34 -0000 1.53.6.6
*** 1080,1084 ****
def connect_ftp(self, user, passwd, host, port, dirs):
! key = user, passwd, host, port if key in self.cache: self.timeout[key] = time.time() + self.delay --- 1080,1084 ----
def connect_ftp(self, user, passwd, host, port, dirs):
! key = user, host, port, '/'.join(dirs) if key in self.cache: self.timeout[key] = time.time() + self.delay
- Previous message: [Python-checkins] python/dist/src/Lib/email MIMEMultipart.py, 1.3, 1.4
- Next message: [Python-checkins] python/dist/src/Lib urllib2.py,1.65,1.66
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]