diff options
author | David Lehman <dlehman@redhat.com> | 2010-02-03 15:37:58 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-02-03 16:42:24 -0600 |
commit | 1121455290fca50ae42ae5c6e40fa4ee95da3302 (patch) | |
tree | 3332304a3011e4e742181c0a1a7a372aa7d4ac2c /storage/devicetree.py | |
parent | b0d18fe2b98b2000fec78155e8c0f077beaa74bc (diff) | |
download | anaconda-1121455290fca50ae42ae5c6e40fa4ee95da3302.tar.gz anaconda-1121455290fca50ae42ae5c6e40fa4ee95da3302.tar.xz anaconda-1121455290fca50ae42ae5c6e40fa4ee95da3302.zip |
Fix typo in action sorting. Disklabels before partitions. (#560017)
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r-- | storage/devicetree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py index 4fb4e6cf8..d304b3898 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -594,10 +594,10 @@ class DeviceTree(object): ret = cmp(a1.device.name, a2.device.name) elif isinstance(a1.device, PartitionDevice) and \ a2.device.partitioned: - ret = -1 + ret = 1 elif isinstance(a2.device, PartitionDevice) and \ a1.device.partitioned: - ret = 1 + ret = -1 else: ret = 0 elif a1.isCreate(): |