diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-10-17 10:09:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-10-17 10:09:50 -0400 |
commit | ae38a5a373b8c488072cf972eb431c5efd72f0f3 (patch) | |
tree | 49859c8872ad869175b55dc04405f8b970071f34 /alembic/autogenerate/api.py | |
parent | 7e3d032cc92af73988f02f281ab354de7fc8e3ab (diff) | |
download | alembic-ae38a5a373b8c488072cf972eb431c5efd72f0f3.tar.gz |
Revert "Replace set union_update() references with update()"
This reverts commit 7e3d032cc92af73988f02f281ab354de7fc8e3ab. the
PR was not provided with a test case or bug report and this is actually
an uncovered code bug. will re-submit with a proper bug report
Diffstat (limited to 'alembic/autogenerate/api.py')
-rw-r--r-- | alembic/autogenerate/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alembic/autogenerate/api.py b/alembic/autogenerate/api.py index 15b5b6b..b54e6aa 100644 --- a/alembic/autogenerate/api.py +++ b/alembic/autogenerate/api.py @@ -395,7 +395,7 @@ class RevisionContext(object): # renders autogen_context.imports = set() if migration_script.imports: - autogen_context.imports.update(migration_script.imports) + autogen_context.imports.union_update(migration_script.imports) render._render_python_into_templatevars( autogen_context, migration_script, template_args ) |