--- iw/partition_dialog_gui.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py index d38aa4e..9002175 100644 --- a/iw/partition_dialog_gui.py +++ b/iw/partition_dialog_gui.py @@ -215,7 +215,10 @@ class PartitionEditor: # preexisting partition request = self.origrequest if request.format.type == "luks": - usedev = self.storage.devicetree.getChildren(request)[0] + try: + usedev = self.storage.devicetree.getChildren(request)[0] + except IndexError: + usedev = request else: usedev = request -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list