summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/parse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-03 10:37:22 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-03 10:37:22 (GMT)
commit2a157d2a3d76960e696ef8004c237de4b424302e (patch)
tree648c7d3a78cef8e02b6058dee4b1e114eb7cba6a /Lib/urllib/parse.py
parent86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c (diff)
downloadcpython-2a157d2a3d76960e696ef8004c237de4b424302e.zip
cpython-2a157d2a3d76960e696ef8004c237de4b424302e.tar.gz
cpython-2a157d2a3d76960e696ef8004c237de4b424302e.tar.bz2
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r--Lib/urllib/parse.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
index 45ae202..01067ae 100644
--- a/Lib/urllib/parse.py
+++ b/Lib/urllib/parse.py
@@ -38,7 +38,8 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
# A classification of schemes ('' means apply by default)
uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
'wais', 'file', 'https', 'shttp', 'mms',
- 'prospero', 'rtsp', 'rtspu', '', 'sftp']
+ 'prospero', 'rtsp', 'rtspu', '', 'sftp',
+ 'svn', 'svn+ssh']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',