summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-02 04:32:57 +0000
committerMatt Wilson <msw@redhat.com>2000-08-02 04:32:57 +0000
commit98c6aeba71fdf262804031ab20d121a203597da7 (patch)
treecfa5422e5e0284bb338b7c11c71cafa119b9a17d /urlinstall.py
parent6e12184fdca2a514b097e8894a7603b940f66c0d (diff)
downloadanaconda-98c6aeba71fdf262804031ab20d121a203597da7.tar.gz
anaconda-98c6aeba71fdf262804031ab20d121a203597da7.tar.xz
anaconda-98c6aeba71fdf262804031ab20d121a203597da7.zip
fix for ftp base installs with a trailing /
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