From b0bc4fddcbd338b7a2ff732df61420baf1c72099 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 13 Jan 2009 08:48:50 +0000 Subject: [PATCH] Remove duplicate toolchains git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2165 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 2f755c38..8f91878d 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -41,7 +41,7 @@ def findToolchains(pathList): for toolchain in glob.glob(element+ "/" + const.GCC_NAME): if not os.path.islink(toolchain): toolchains.append(toolchain) - return toolchains + return list(set(toolchains)) def getToolchainInfo(output): info = {} -- 2.25.1