]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add support in urlparse for recognizing rsync as a protocol that defines a
authorBrett Cannon <bcannon@gmail.com>
Tue, 29 Jun 2004 04:05:57 +0000 (04:05 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 29 Jun 2004 04:05:57 +0000 (04:05 +0000)
"netloc" (i.e., network location) in its URL.

Closes bug #981299.

Lib/urlparse.py
Misc/NEWS

index 69305a73b06a2370fda8fc4dafbb78adf5242a7a..7d49bc0c7722c8aa026b5e5edbdcdc129c3a971b 100644 (file)
@@ -13,7 +13,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
                                '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',
index a9d11abde70582cac7364386c938b702b6b6c2cc..c8e099207f4e807d7125a0537ccca3ba84d6fba2 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -37,6 +37,9 @@ Extension modules
 Library
 -------
 
+- Bug #981299: rsync is now a recognized protocol in urlparse that uses a
+  "netloc" portion of a URL.
+
 - Patch #975885: Print file name in err msg in quiet mode of compileall.py.
 
 - Bug #919012: shutil.move() raises an exception when you try to move a