diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-05-06 08:31:26 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-05-06 08:36:12 +0200 |
commit | 1fa6d0f1ea36ee3cf070f8882354b24a243d024e (patch) | |
tree | bbc98f14fe4d7e237cbf42c5bc6ad2e31715c8b6 /textw | |
parent | b50a4d2c82f5ebd4df4b898c888b3be750f9f418 (diff) | |
download | anaconda-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 'textw')
-rw-r--r-- | textw/partition_text.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py index 1a790ca2f..48b7c1810 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -223,15 +223,6 @@ class PartitionTypeWindow: (user, pw, user_in, pw_in) = entries[2:] - 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 - target = entries[0].strip() try: idx = target.rfind(":") |