From 9d8f914fe8ac75e18e0da2b7ce4886a2ba490fc6 Mon Sep 17 00:00:00 2001 From: Conley Owens Date: Thu, 20 Oct 2011 14:36:35 -0700 Subject: Remove extra '/' in RemoteSpec urljoin appends a '/' if only the domain is in the url path. This change strips that off before creating a RemoteSpec --- manifest_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifest_xml.py') diff --git a/manifest_xml.py b/manifest_xml.py index 02a5f9ae..9189eec4 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -59,7 +59,7 @@ class _XmlRemote(object): return re.sub(r'^gopher://', '', url) def ToRemoteSpec(self, projectName): - url = self.resolvedFetchUrl + '/' + projectName + url = self.resolvedFetchUrl.rstrip('/') + '/' + projectName return RemoteSpec(self.name, url, self.reviewUrl) class XmlManifest(object): -- cgit v1.2.3-54-g00ecf