remove use of 'sorted' which is not supported by older versions of python.
[bootmanager.git] / source / steps / InstallPartitionDisks.py
index 01c0683..a8fbeae 100644 (file)
@@ -97,7 +97,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