summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-28 05:29:52 +0000
committerMatt Wilson <msw@redhat.com>2001-03-28 05:29:52 +0000
commitab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8 (patch)
tree5f58e447a760f701c6197a8d07da93e2292f2a13
parent4768ad47065d4b4e4504f30b7a3059a8ead277a6 (diff)
downloadanaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.tar.gz
anaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.tar.xz
anaconda-ab9c0eba39c1c0a4a62e05942ffc8e9dd10408d8.zip
fix traceback in reconfig mode (#33515)
-rwxr-xr-xanaconda4
1 files changed, 2 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 0cac53290..2ba9aae2a 100755
--- a/anaconda
+++ b/anaconda
@@ -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://":