From ee77a25dfd1dec45dc60518e81ed2e75ae6b5f94 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 13 Mar 2009 15:56:41 +0000 Subject: [PATCH] remove use of 'sorted' which is not supported by older versions of python. --- source/steps/InstallPartitionDisks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 01c0683..a8fbeae 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -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 -- 2.47.0