diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-02 04:32:57 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-02 04:32:57 +0000 |
commit | 98c6aeba71fdf262804031ab20d121a203597da7 (patch) | |
tree | cfa5422e5e0284bb338b7c11c71cafa119b9a17d /urlinstall.py | |
parent | 6e12184fdca2a514b097e8894a7603b940f66c0d (diff) | |
download | anaconda-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.py | 2 |
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 |