rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network
location) in its addressing.

Closes bug #981299.
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index 2f1965a..37dd362 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -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',
diff --git a/Misc/NEWS b/Misc/NEWS
index 138afe2..414b6e6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -350,6 +350,9 @@
 Library
 -------
 
+- Bug #981299: rsync is now a recognized protocol that uses a "netloc" portion
+  of a URL.
+
 - Bug #919012: shutil.move() will not try to move a directory into itself.
   Thanks Johannes Gijsbers.