From: Stephen Soltesz Date: Fri, 13 Mar 2009 15:56:41 +0000 (+0000) Subject: remove use of 'sorted' which is not supported by older versions of python. X-Git-Tag: BootManager-3.2-18~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ee77a25dfd1dec45dc60518e81ed2e75ae6b5f94;p=bootmanager.git remove use of 'sorted' which is not supported by older versions of python. --- 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