summaryrefslogtreecommitdiff
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:25:21 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-05-13 03:25:21 +0000
commit81a0450cb55ac0887c8d59b5750f66aa00bd8be1 (patch)
treec88b64cde7468dd5be0c4ff95105e4c63972e729 /Lib/urlparse.py
parent62f7e8b0b8e068a0281d737dba73d063cad4b31c (diff)
downloadcpython-git-81a0450cb55ac0887c8d59b5750f66aa00bd8be1.tar.gz
Fix Issue8657 - adding git and git+ssh as know schemes.
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index 7f3a9a4b5c..65bb9cb33a 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -38,7 +38,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
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',