summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-29 16:46:56 +0000
committerMike Fulbright <msf@redhat.com>2001-03-29 16:46:56 +0000
commit62f903cb8981de8b92c7b2b4aaa338aea990d59b (patch)
tree363b97023c03a4a2d869da8d17c8b74dbc21d2dd /anaconda
parent164036ff169a492442999977ca711ed59c2e05ee (diff)
downloadanaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.tar.gz
anaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.tar.xz
anaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.zip
check if method is defined first
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 2ba9aae2a..b5dd2b64c 100755
--- a/anaconda
+++ b/anaconda
@@ -346,7 +346,7 @@ elif (display_mode == 't'):
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://":
+ elif method and len (method) >= 5 and method[:5] == "hd://":
print _("Graphical installation not available for hard drive installs. "
"Starting text mode.")
from text import InstallInterface