diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-21 13:06:56 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-08-21 13:06:56 -0400 |
commit | ec7c2b721f73f2770e2ed9ac770bc873065c1e60 (patch) | |
tree | af06ee9ac888f6157544953fff56aaa01c713c1b /alembic/autogenerate/api.py | |
parent | 28d37a9c57e0fcdfbe129e763e8a7f1d108ed9ee (diff) | |
download | alembic-ec7c2b721f73f2770e2ed9ac770bc873065c1e60.tar.gz |
- add a test and changelog notes for the fact that a non-autogenerate
run can render Python code in upgradeops/downgradeops via the
process_revision_directives hook.
Diffstat (limited to 'alembic/autogenerate/api.py')
-rw-r--r-- | alembic/autogenerate/api.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/alembic/autogenerate/api.py b/alembic/autogenerate/api.py index 0ccaeb7..0bdaa97 100644 --- a/alembic/autogenerate/api.py +++ b/alembic/autogenerate/api.py @@ -372,7 +372,6 @@ class RevisionContext(object): downgrade_token migration_script._needs_render = True else: - pass migration_script._upgrade_ops.append( ops.UpgradeOps([], upgrade_token=upgrade_token) ) |