diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | textw/partition_text.py | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -4,6 +4,10 @@ * scripts/maketreeinfo.py: Fix typo. + * textw/partition_text.py (PartitionTypeWindow.addIscsiDriveDialog): + Fix traceback when cancel is pressed (#229694). + (PartitionTypeWindow.addZFCPDriveDialog): Likewise. + 2007-02-21 Dave Lehman <dlehman@redhat.com> * partedUtils.py (openDevices): don't relabel disks that contain diff --git a/textw/partition_text.py b/textw/partition_text.py index 2bb8cfa6e..3420591c8 100644 --- a/textw/partition_text.py +++ b/textw/partition_text.py @@ -1683,7 +1683,7 @@ class PartitionTypeWindow: prompts = [ "Device number", "WWPN", "FCP LUN" ] ) - if button == TEXT_BACK_CHECK: + if button == TEXT_CANCEL_CHECK: return INSTALL_BACK devnum = entries[0].strip() @@ -1706,7 +1706,7 @@ class PartitionTypeWindow: _("To use iSCSI disks, you must provide the address of your iSCSI target and the iSCSI initiator name you've configured for your host."), prompts = [ "Target IP Address", "iSCSI Initiator Name" ]) - if button == TEXT_BACK_CHECK: + if button == TEXT_CANCEL_CHECK: return INSTALL_BACK target = entries[0].strip() |