summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-11-23 10:33:47 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-11-23 10:33:47 -0500
commit69427188e66307378fa0e4cb8def77c065ae4251 (patch)
treef5c3ef509b1f1095a0221ff677c53d95db951867
parent364b1a72d956577a7ad399eda409eaa0bc7c5bc5 (diff)
downloadalembic-69427188e66307378fa0e4cb8def77c065ae4251.tar.gz
- use the correct method here; this needs to have some tests
-rw-r--r--alembic/migration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alembic/migration.py b/alembic/migration.py
index 60591be..098cf69 100644
--- a/alembic/migration.py
+++ b/alembic/migration.py
@@ -261,7 +261,7 @@ class MigrationContext(object):
"""
heads = self.get_current_heads()
head_maintainer = HeadMaintainer(self, heads)
- for step in script_directory._steps_revs(revision, heads):
+ for step in script_directory._stamp_revs(revision, heads):
head_maintainer.update_to_step(step)
def run_migrations(self, **kw):