From 69427188e66307378fa0e4cb8def77c065ae4251 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 23 Nov 2014 10:33:47 -0500 Subject: - use the correct method here; this needs to have some tests --- alembic/migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1