summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-06-21 03:53:59 +0000
committerJeremy Katz <katzj@redhat.com>2006-06-21 03:53:59 +0000
commit58b0dbfc664c3bdfec3bf300f58c94ca9e86aca0 (patch)
tree3c2053ffb9cbf9f1614d707f91b95bc6ecddb166 /autopart.py
parentcbfb51918d9f6690c9185d1f7b6ca3dd4f9c6c3b (diff)
downloadanaconda-58b0dbfc664c3bdfec3bf300f58c94ca9e86aca0.tar.gz
anaconda-58b0dbfc664c3bdfec3bf300f58c94ca9e86aca0.tar.xz
anaconda-58b0dbfc664c3bdfec3bf300f58c94ca9e86aca0.zip
2006-06-21 Jeremy Katz <katzj@redhat.com>
* autopart.py (getDriveList): Sort drive list "correctly"
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index ef706fd2b..3e55b71b5 100644
--- a/autopart.py
+++ b/autopart.py
@@ -287,7 +287,7 @@ def getDriveList(request, diskset):
if not type(drives) == type([]):
drives = [ drives ]
- drives.sort()
+ drives.sort(isys.compareDrives)
return drives