summaryrefslogtreecommitdiff
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-03 18:31:59 +0800
committerSenthil Kumaran <senthil@uthcode.com>2011-08-03 18:31:59 +0800
commitf432aeca7c483ff031bb708e5b3bf80f847e9c1a (patch)
tree42d5810e6597c9170122bc1a26961bc724e54561 /Lib/urlparse.py
parentc1ee4ef9dc72c1885091b624fd3c0da657447143 (diff)
downloadcpython-git-f432aeca7c483ff031bb708e5b3bf80f847e9c1a.tar.gz
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index e5528face6..2d53603c89 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -34,7 +34,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']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',