Sfoglia il codice sorgente

patched for studio, revert https://github.com/RT-Thread/rt-thread/pull/6581

guozhanxin 2 anni fa
parent
commit
b55f1ce99d
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      tools/eclipse.py

+ 0 - 6
tools/eclipse.py

@@ -55,12 +55,6 @@ def CollectPaths(paths):
         path = path.replace('\\', '/')
         all_paths = all_paths + [path] + ParentPaths(path)
 
-    cwd = os.getcwd()
-    for path in os.listdir(cwd):
-        temp_path = cwd.replace('\\', '/') + '/' + path
-        if os.path.isdir(temp_path):
-            all_paths = all_paths + [temp_path]
-
     all_paths = list(set(all_paths))
     return sorted(all_paths)