7048497 use a whole partition will cause TI to exit with unhandled exception
authorKaren Tung <karen.tung@oracle.com>
Thu, 26 May 2011 12:41:48 -0700
changeset 1153 cdfbbe758b36
parent 1152 67a7b566bd10
child 1154 8cb36a37e75d
7048497 use a whole partition will cause TI to exit with unhandled exception
usr/src/cmd/text-install/partition_edit_screen.py
--- a/usr/src/cmd/text-install/partition_edit_screen.py	Thu May 26 11:36:40 2011 +0100
+++ b/usr/src/cmd/text-install/partition_edit_screen.py	Thu May 26 12:41:48 2011 -0700
@@ -191,7 +191,7 @@
                 #
 
                 existing_slices = part.get_children(class_type=Slice)
-                if not existing_slices:
+                if existing_slices:
                     for ex_slice in existing_slices:
                         part.delete_slice(ex_slice)