--- storage/devicetree.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index 7295856..14239b0 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -601,6 +601,12 @@ class DeviceTree(object): elif isinstance(a2.device, PartitionDevice) and \ a1.device.partitioned: ret = -1 + elif isinstance(a1.device, PartitionDevice) and \ + not isinstance(a2.device, PartitionDevice): + ret = -1 + elif isinstance(a2.device, PartitionDevice) and \ + not isinstance(a1.device, PartitionDevice): + ret = 1 else: ret = 0 elif a1.isCreate(): -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list