Add followlinks=True when calling os.walk (attempt to fix #169).
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 24 Sep 2010 13:12:02 +0000 (13:12 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 24 Sep 2010 13:12:02 +0000 (13:12 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4299 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/plugins/codelite.py

index cff2c60791cb7c68c8f4cbcb1e71c90c8726dd7e..19c5ac7181fb772d2ab28408fa569802153c3bd2 100644 (file)
@@ -82,7 +82,7 @@ def findSources(path):
     if not path.endswith(os.sep):
         path += os.sep
     file_dict = {}
-    for root, dirs, files in os.walk(path):
+    for root, dirs, files in os.walk(path, followlinks=True):
         if root.find("svn") == -1:
             file_dict[root.replace(path, "")] = {"dirs": [], "files": []}
             for dir in dirs: