diff Lib/urlparse.py @ 32435:ff6b97cdd864 legacy-trunk

rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network location) in its addressing. Closes bug #981299.
author Brett Cannon <bcannon@gmail.com>
date Tue, 29 Jun 2004 04:02:40 +0000
parents e4f52e2e3800
children 287e71f44d79 cd517701fd93
line wrap: on
line diff
--- a/Lib/urlparse.py	Tue Jun 29 03:48:23 2004 +0000
+++ b/Lib/urlparse.py	Tue Jun 29 04:02:40 2004 +0000
@@ -13,7 +13,7 @@
                                'prospero', 'rtsp', 'rtspu', '']
 uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
                              'imap', 'wais', 'file', 'mms', 'https', 'shttp',
-                             'snews', 'prospero', 'rtsp', 'rtspu', '']
+                             'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '']
 non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
                                   'telnet', 'wais', 'imap', 'snews', 'sip']
 uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',