X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fplugins%2Fcodelite.py;h=f3dcc3d1ff9a1507dfe44f14b52fbb80a21d5485;hb=770d1b02d7a11332268bf8bd46bce7c99b147441;hp=1789c52048eb5eccaaa04efa567dc1a2fcedf988;hpb=0b5e269f0571dac2454992b94b563f80c31291e1;p=bertos.git diff --git a/wizard/plugins/codelite.py b/wizard/plugins/codelite.py index 1789c520..f3dcc3d1 100644 --- a/wizard/plugins/codelite.py +++ b/wizard/plugins/codelite.py @@ -87,7 +87,8 @@ def findSources(path): if root.find("svn") == -1: file_dict[root.replace(path, "")] = {"dirs": [], "files": []} for dir in dirs: - if dir.find("svn") == -1: + # TODO: place the directory name in a constant file. + if dir.find("svn") == -1 and dir != "images" and dir != "object": file_dict[root.replace(path, "")]["dirs"].append(dir) for file in files: if file.endswith(const.EXTENSION_FILTER):