summaryrefslogtreecommitdiffstats
path: root/textw/partition_text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-12-07 22:32:18 +0000
committerJeremy Katz <katzj@redhat.com>2006-12-07 22:32:18 +0000
commitfa75c1ac73752a891dcf8893853e87452571869b (patch)
treebdcd00334e2f7a58dd6eeffc44f3fc4233557642 /textw/partition_text.py
parentb5325b15af9abe366b60364b712c17e48fb86be5 (diff)
downloadanaconda-fa75c1ac73752a891dcf8893853e87452571869b.tar.gz
anaconda-fa75c1ac73752a891dcf8893853e87452571869b.tar.xz
anaconda-fa75c1ac73752a891dcf8893853e87452571869b.zip
2006-12-07 Jeremy Katz <katzj@redhat.com>
* textw/partition_text.py (PartitionTypeWindow.addDriveDialog): Don't traceback if we don't have iscsi (#218513)
Diffstat (limited to 'textw/partition_text.py')
-rw-r--r--textw/partition_text.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index d18744bc9..f6a50e944 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -1642,6 +1642,9 @@ class PartitionTypeWindow:
if rhpl.getArch() in ("s390", "s390x"):
newdrv.append( "Add zFCP LUN" )
+ if len(newdrv) == 0:
+ return INSTALL_BACK
+
(button, choice) = ListboxChoiceWindow(screen,
_("Advanced Storage Options"),
_("How would you like to modify "