diff options
author | Matt Wilson <msw@redhat.com> | 2001-03-28 05:29:52 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-03-28 05:29:52 +0000 |
commit | ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8 (patch) | |
tree | 5f58e447a760f701c6197a8d07da93e2292f2a13 | |
parent | 4768ad47065d4b4e4504f30b7a3059a8ead277a6 (diff) | |
download | anaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.tar.gz anaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.tar.xz anaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.zip |
fix traceback in reconfig mode (#33515)
-rwxr-xr-x | anaconda | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -342,8 +342,8 @@ if (display_mode == 'g'): display_mode = 't' from text import InstallInterface elif (display_mode == 't'): - if ((len (method) >= 6 and method[:6] == "ftp://") - or (len (method) >= 7 and method[:7] == "http://")): + if ((method and len (method) >= 6 and method[:6] == "ftp://") + or (method and len (method) >= 7 and method[:7] == "http://")): print _("Graphical installation not available for %s installs. " "Starting text mode.") % (string.split(method, ':')[0],) elif len (method) >= 5 and method[:5] == "hd://": |