summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-09-16 21:43:32 +0000
committerErik Troan <ewt@redhat.com>1999-09-16 21:43:32 +0000
commit53d535fd32b221e6bc1bde923bca581b0086928a (patch)
treee2d6951f143f97244688b12a29c6b70a134d80ba /textw
parent2a2d25c45aeaf840b2955ef06b60327487f793b7 (diff)
downloadanaconda-53d535fd32b221e6bc1bde923bca581b0086928a.tar.gz
anaconda-53d535fd32b221e6bc1bde923bca581b0086928a.tar.xz
anaconda-53d535fd32b221e6bc1bde923bca581b0086928a.zip
sort disk names properly
Diffstat (limited to 'textw')
-rw-r--r--textw/partitioning.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py
index 47ac94bb5..98328ba9f 100644
--- a/textw/partitioning.py
+++ b/textw/partitioning.py
@@ -41,7 +41,7 @@ class ManualPartitionWindow:
drives = todo.drives.available ()
driveNames = drives.keys()
- driveNames.sort ()
+ driveNames.sort (isys.compareDrives)
choices = []
for device in driveNames:
@@ -98,7 +98,7 @@ class AutoPartitionWindow:
if not todo.ddruid:
drives = todo.drives.available ().keys ()
- drives.sort ()
+ drives.sort (isys.compareDrives)
todo.ddruid = fsedit(0, drives, fstab, todo.zeroMbr)
todo.instClass.finishPartitioning(todo.ddruid)