[Python-checkins] python/dist/src/Lib urlparse.py,1.40,1.40.10.1

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Tue Jun 29 00:05:59 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14641/Lib

Modified Files:
      Tag: release23-maint
	urlparse.py 
Log Message:
Add support in urlparse for recognizing rsync as a protocol that defines a
"netloc" (i.e., network location) in its URL.

Closes bug #981299.


Index: urlparse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urlparse.py,v
retrieving revision 1.40
retrieving revision 1.40.10.1
diff -C2 -d -r1.40 -r1.40.10.1
*** urlparse.py	30 Mar 2003 16:28:26 -0000	1.40
--- urlparse.py	29 Jun 2004 04:05:57 -0000	1.40.10.1
***************
*** 14,18 ****
  uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
                               'imap', 'wais', 'file', 'mms', 'https', 'shttp',
!                              'snews', 'prospero', 'rtsp', 'rtspu', '']
  non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
                                    'telnet', 'wais', 'imap', 'snews', 'sip']
--- 14,18 ----
  uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
                               'imap', 'wais', 'file', 'mms', 'https', 'shttp',
!                              'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '']
  non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
                                    'telnet', 'wais', 'imap', 'snews', 'sip']




More information about the Python-checkins mailing list