Merge pull request #1388 from JamesHarrison/master

Fix px_romfs_pruner.py to skip .data files
This commit is contained in:
Lorenz Meier
2014-10-14 23:46:12 +02:00
+1 -1
View File
@@ -57,7 +57,7 @@ def main():
for (root, dirs, files) in os.walk(args.folder):
for file in files:
# only prune text files
if ".zip" in file or ".bin" in file or ".swp" in file:
if ".zip" in file or ".bin" in file or ".swp" in file or ".data" in file:
continue
file_path = os.path.join(root, file)