From 98c6aeba71fdf262804031ab20d121a203597da7 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Wed, 2 Aug 2000 04:32:57 +0000 Subject: fix for ftp base installs with a trailing / --- urlinstall.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit