diff options
author | Mike Fulbright <msf@redhat.com> | 2001-03-29 16:46:56 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-03-29 16:46:56 +0000 |
commit | 62f903cb8981de8b92c7b2b4aaa338aea990d59b (patch) | |
tree | 363b97023c03a4a2d869da8d17c8b74dbc21d2dd | |
parent | 164036ff169a492442999977ca711ed59c2e05ee (diff) | |
download | anaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.tar.gz anaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.tar.xz anaconda-62f903cb8981de8b92c7b2b4aaa338aea990d59b.zip |
check if method is defined first
-rwxr-xr-x | anaconda | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |