summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--autopart.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 135422244..3315df7c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-21 Jeremy Katz <katzj@redhat.com>
+
+ * autopart.py (getDriveList): Sort drive list "correctly"
+
2006-06-20 Jeremy Katz <katzj@redhat.com>
* iw/zfcp_gui.py (ZFCPWindow.getScreen): Fix fallout from anaconda
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