diff options
author | Fred Drake <fdrake@acm.org> | 2005-07-29 15:56:32 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-07-29 15:56:32 +0000 |
commit | 50747fc1b9985e857ef6138bcb9b24257aefc949 (patch) | |
tree | 1644a6b08d4ccfecb83c83417adbaf537db9daff /Lib/urlparse.py | |
parent | c320c22f79b8f5af7d3fe4e05b1ea6eaf15a4c8b (diff) | |
download | cpython-git-50747fc1b9985e857ef6138bcb9b24257aefc949.tar.gz |
add support for svn: and svn+ssh: URL schemes to urlparse
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r-- | Lib/urlparse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py index 8469139344..c7c77e387f 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -13,7 +13,8 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'prospero', 'rtsp', 'rtspu', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'imap', 'wais', 'file', 'mms', 'https', 'shttp', - 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', ''] + 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '', + 'svn', 'svn+ssh'] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', 'imap', 'snews', 'sip'] uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap', |