summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-08 13:39:53 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-09 16:06:17 +0000
commit24d0fa25530dc6dcc423f4a9eac417c60b8eb093 (patch)
tree17b4b523cffae3eb29ae6559f47704603220e39b
parent7076d9f850a99d6510da87fac5718dc5f4474ad0 (diff)
downloadmorph-24d0fa25530dc6dcc423f4a9eac417c60b8eb093.tar.gz
Create bundle URL so it actually points at the bundle server
Previously, urljoin wouldn't add the bundle server, since the pathname at the server contains a colon. We now use a simpler way of joining (lowly string catenation) which should always work.
-rw-r--r--morphlib/sourcemanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/sourcemanager.py b/morphlib/sourcemanager.py
index 2f0a4c08..bd6ec3da 100644
--- a/morphlib/sourcemanager.py
+++ b/morphlib/sourcemanager.py
@@ -89,7 +89,7 @@ class SourceManager(object):
self.msg('Using bundle server %s, looking for bundle for %s' %
(bundle_server, name))
bundle = name + ".bndl"
- lookup_url = urlparse.urljoin(bundle_server, bundle)
+ lookup_url = bundle_server + bundle
self.msg('Checking for bundle %s' % lookup_url)
req = urllib2.Request(lookup_url)