Browse Source

gen_db.py no longer generating dumps for files blacklisted (settings.files_to_ignore).

Alexander Gessler 10 years ago
parent
commit
fafe5584b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/regression/gen_db.py

+ 1 - 1
test/regression/gen_db.py

@@ -164,7 +164,7 @@ def gen_db(ext_list,outfile):
     num = 0
     for tp in settings.model_directories:
         num += process_dir(tp, outfile,
-            lambda x: os.path.splitext(x)[1] in ext_list)
+            lambda x: os.path.splitext(x)[1] in ext_list and not x in settings.files_to_ignore)
 
     print("="*60)
     print("Updated {0} entries".format(num))