Add followlinks=True when calling os.walk (attempt to fix #169).
[bertos.git] / 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: