From: Bryce Lohr Date: Thu, 26 Apr 2012 02:30:32 +0000 (-0400) Subject: Added missing 'execution_options' kwarg that only appeared to be used from the multid... X-Git-Tag: rel_0_4_0~8^2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5f0d78659240dbc01c93c5bea1c98125b71d47;p=thirdparty%2Fsqlalchemy%2Falembic.git Added missing 'execution_options' kwarg that only appeared to be used from the multidb template. --- diff --git a/alembic/migration.py b/alembic/migration.py index 80e53b25..243bdbd2 100644 --- a/alembic/migration.py +++ b/alembic/migration.py @@ -220,7 +220,7 @@ class MigrationContext(object): if self.as_sql and not rev: _version.drop(self.connection) - def execute(self, sql): + def execute(self, sql, execution_options=None): """Execute a SQL construct or string statement. The underlying execution mechanics are used, that is @@ -229,7 +229,7 @@ class MigrationContext(object): the current SQLAlchemy connection. """ - self.impl._exec(sql) + self.impl._exec(sql, execution_options) def _stdout_connection(self, connection): def dump(construct, *multiparams, **params):