From: Stephen Soltesz <soltesz@cs.princeton.edu>
Date: Fri, 13 Mar 2009 15:59:08 +0000 (+0000)
Subject: merged from branch, to remove 'sorted' which is not supported in older
X-Git-Tag: BootManager-4.3-3~8
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=66a6448a90ad9f1058f53ba041978ec87ca2b2d7;p=bootmanager.git

merged from branch, to remove 'sorted' which is not supported in older
versions of python.
---

diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py
index 6ebe27e..0e65270 100644
--- a/source/steps/InstallPartitionDisks.py
+++ b/source/steps/InstallPartitionDisks.py
@@ -87,7 +87,8 @@ def Run( vars, log ):
     
     used_devices= []
 
-    for device in sorted(INSTALL_BLOCK_DEVICES):
+    INSTALL_BLOCK_DEVICES.sort()
+    for device in INSTALL_BLOCK_DEVICES:
 
         if single_partition_device( device, vars, log ):
             if (len(used_devices) > 0 and