merged from branch, to remove 'sorted' which is not supported in older
authorStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 13 Mar 2009 15:59:08 +0000 (15:59 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Fri, 13 Mar 2009 15:59:08 +0000 (15:59 +0000)
versions of python.

source/steps/InstallPartitionDisks.py

index 6ebe27e..0e65270 100644 (file)
@@ -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