From: duplo Date: Fri, 24 Sep 2010 13:12:02 +0000 (+0000) Subject: Add followlinks=True when calling os.walk (attempt to fix #169). X-Git-Tag: 2.6.0~102 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=414c916947f944ed965a346b1e11a5e1634b7a0f;p=bertos.git Add followlinks=True when calling os.walk (attempt to fix #169). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4299 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/plugins/codelite.py b/wizard/plugins/codelite.py index cff2c607..19c5ac71 100644 --- a/wizard/plugins/codelite.py +++ b/wizard/plugins/codelite.py @@ -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: