From cbb4cec8414975e6a5267b65ec5ac67dc28f2d15 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 25 May 2015 15:28:32 +0100 Subject: [PATCH] Fixed bad indentation for getLinuxPlatform() #4695 Caused by 16d9bd8f0d3f0be66c41f56ce925b3c54ea3e5b5 --- ext/toolchain/commands1.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index 876b9efd..feaa9f06 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -1468,17 +1468,17 @@ class InternalCommands: if os.uname()[4][:3] == 'arm': return 'Linux-armv6l' - # os_bits should be loaded with '32bit' or '64bit' - import platform - (os_bits, other) = platform.architecture() + # os_bits should be loaded with '32bit' or '64bit' + import platform + (os_bits, other) = platform.architecture() - # get platform based on current platform - if os_bits == '32bit': - return 'Linux-i686' - elif os_bits == '64bit': - return 'Linux-x86_64' - else: - raise Exception("unknown os bits: " + os_bits) + # get platform based on current platform + if os_bits == '32bit': + return 'Linux-i686' + elif os_bits == '64bit': + return 'Linux-x86_64' + else: + raise Exception("unknown os bits: " + os_bits) def dist_usage(self): print ('Usage: %s package [package-type]\n'