remove use of 'sorted' which is not supported by older versions of python.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 13 Mar 2009 15:56:41 +0000 (15:56 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 13 Mar 2009 15:56:41 +0000 (15:56 +0000)
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