summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/urlinstall.py b/urlinstall.py
index a54a275f1..7df4f40b1 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -97,4 +97,6 @@ class UrlInstallMethod(InstallMethod):
rem = new
new = string.replace(rem, "//", "/")
rem = new
+ if rem and rem[-1] == "/":
+ rem = rem[:-1]
self.baseUrl = self.baseUrl + rem