THP: Fix Importer call

This commit is contained in:
Worros 2010-09-05 01:12:31 +08:00
parent 3bd8f3d352
commit 7ac652c12e

View File

@ -129,7 +129,7 @@ def main(argv=None):
settings.update(config.get_import_parameters()) settings.update(config.get_import_parameters())
settings.update(config.get_default_paths()) settings.update(config.get_default_paths())
db.recreate_tables() db.recreate_tables()
importer = fpdb_import.Importer(False, settings, config) importer = fpdb_import.Importer(False, settings, config, None)
importer.setDropIndexes("don't drop") importer.setDropIndexes("don't drop")
importer.setFailOnError(True) importer.setFailOnError(True)
importer.setThreads(-1) importer.setThreads(-1)