diff Lib/urlparse.py @ 61543:06c6d3a67c17 legacy-trunk

Fix Issue8657 - adding git and git+ssh as know schemes.
author Senthil Kumaran <orsenthil@gmail.com>
date Thu, 13 May 2010 03:25:21 +0000
parents 2d2a858fe3e1
children 2297cd57d945
line wrap: on
line diff
--- a/Lib/urlparse.py	Wed May 12 19:53:36 2010 +0000
+++ b/Lib/urlparse.py	Thu May 13 03:25:21 2010 +0000
@@ -38,7 +38,7 @@
 uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
                'imap', 'wais', 'file', 'mms', 'https', 'shttp',
                'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',
-               'svn', 'svn+ssh', 'sftp','nfs']
+               'svn', 'svn+ssh', 'sftp','nfs','git', 'git+ssh']
 non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
                     'telnet', 'wais', 'imap', 'snews', 'sip', 'sips']
 uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',