if root.find("svn") == -1:
file_dict[root.replace(path, "")] = {"dirs": [], "files": []}
for dir in dirs:
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):
file_dict[root.replace(path, "")]["dirs"].append(dir)
for file in files:
if file.endswith(const.EXTENSION_FILTER):