From: duplo Date: Tue, 13 Jan 2009 08:48:50 +0000 (+0000) Subject: Remove duplicate toolchains X-Git-Tag: 2.1.0~517 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b0bc4fddcbd338b7a2ff732df61420baf1c72099;p=bertos.git Remove duplicate toolchains git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2165 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 = {}