summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-05-06 08:31:26 +0200
committerHans de Goede <hdegoede@redhat.com>2009-05-06 08:36:12 +0200
commit1fa6d0f1ea36ee3cf070f8882354b24a243d024e (patch)
treebbc98f14fe4d7e237cbf42c5bc6ad2e31715c8b6 /iw
parentb50a4d2c82f5ebd4df4b898c888b3be750f9f418 (diff)
downloadanaconda-1fa6d0f1ea36ee3cf070f8882354b24a243d024e.tar.gz
anaconda-1fa6d0f1ea36ee3cf070f8882354b24a243d024e.tar.xz
anaconda-1fa6d0f1ea36ee3cf070f8882354b24a243d024e.zip
Forward port various iscsi fixes from 5.4 iscsi work
This patch contains the following small fixes: - There is no need to convert None as username/pass into an empty string pylibiscsi will happily take either - Only set the initiator name from ibft if the ibft flag is present - Show an error when no username is specified, but a password / reverse username / pass is given - Do not backtrace when the following happens: 1) Manually add iscsi disk 2) enter wrong IP / username without pass 3) Fix this *and* change the initiator name initially choosen - Allow having only a reverse password without a reverse username
Diffstat (limited to 'iw')
-rw-r--r--iw/autopart_type.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 1b355738b..4d9953c18 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -292,15 +292,6 @@ class PartitionTypeWindow(InstallWindow):
user_in = dxml.get_widget("userinEntry").get_text().strip()
pw_in = dxml.get_widget("passinEntry").get_text().strip()
- if len(user) == 0:
- user = None
- if len(pw) == 0:
- pw = None
- if len(user_in) == 0:
- user_in = None
- if len(pw_in) == 0:
- pw_in = None
-
err = None
try:
idx = target.rfind(":")