dbf-to-sqlite
dbf-to-sqlite copied to clipboard
table variable name collision
https://github.com/simonw/dbf-to-sqlite/blob/2a15c9b6c23550a0fc247e9eaedd693edd909d09/dbf_to_sqlite/cli.py#L23
You re-use the variable table when the original use is still in-scope. This causes a collision when processing multiple DBF files leading to non-sensical table names (table name for the current file is incorrectly set to a long string representing the description of the last table processed)