Remove duplicate toolchains
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jan 2009 08:48:50 +0000 (08:48 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Jan 2009 08:48:50 +0000 (08:48 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2165 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos_utils.py

index 2f755c38af8576c31dbc96c03d5b8032f6d1b0b8..8f91878d151a71fceea48b00f71494eeb9141741 100644 (file)
@@ -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 = {}