summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-22 15:11:48 +0000
committerMatt Wilson <msw@redhat.com>1999-08-22 15:11:48 +0000
commit98b463d49c32ee2fd185f8393d804863297be95c (patch)
tree4ae960ca312f8ccfaa265c32c3fbd8a30b1dc50e /text.py
parent7dad9b6d54dae28df9544dc9e948443c012e172e (diff)
downloadanaconda-98b463d49c32ee2fd185f8393d804863297be95c.tar.gz
anaconda-98b463d49c32ee2fd185f8393d804863297be95c.tar.xz
anaconda-98b463d49c32ee2fd185f8393d804863297be95c.zip
sort drives
Diffstat (limited to 'text.py')
-rw-r--r--text.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/text.py b/text.py
index 8717eb4d5..fb9d6d839 100644
--- a/text.py
+++ b/text.py
@@ -389,7 +389,9 @@ class PartitionWindow:
fstab.append ((dev, mntpoint))
if not todo.ddruid:
- todo.ddruid = fsedit(0, todo.drives.available ().keys (), fstab)
+ drives = todo.drives.available ().keys ()
+ drives.sort ()
+ todo.ddruid = fsedit(0, drives, fstab)
dir = todo.ddruid.edit ()
for partition, mount, fstype, size in todo.ddruid.getFstab ():
todo.addMount(partition, mount, fstype)