diff options
Diffstat (limited to 'editor/translations/extract.py')
-rwxr-xr-x | editor/translations/extract.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/translations/extract.py b/editor/translations/extract.py index f75e01bb7b..e7ebda32df 100755 --- a/editor/translations/extract.py +++ b/editor/translations/extract.py @@ -23,13 +23,10 @@ if (not os.path.exists("editor")): matches = [] for root, dirnames, filenames in os.walk('.'): + dirnames[:] = [d for d in dirnames if d not in ["thirdparty"]] for filename in fnmatch.filter(filenames, '*.cpp'): - if (filename.find("collada") != -1): - continue matches.append(os.path.join(root, filename)) for filename in fnmatch.filter(filenames, '*.h'): - if (filename.find("collada") != -1): - continue matches.append(os.path.join(root, filename)) matches.sort() |