perseas / Pyrseas

Provides utilities for Postgres database schema versioning.
https://perseas.github.io/
BSD 3-Clause "New" or "Revised" License
395 stars 67 forks source link

multiple table exclusions don't work with multiple_file #128

Closed dewulf closed 9 years ago

dewulf commented 9 years ago

when using -T or -t many times to exclude or include tables in dbtoyaml and at the same time the option multiple_files is switched on the execution fails.

Fix: dbobject/schema.py line 120 filemap.update(outobj) should be within "if objmap is not None:"