Commit 24f2439a authored by Barry Warsaw's avatar Barry Warsaw

Work around a bug/change in Alembic

In Alembic 0.9.6, they changed something which breaks the @public decorator on
these methods.
parent 32d3620e
Pipeline #12852389 passed with stage
in 27 minutes and 6 seconds
......@@ -23,7 +23,6 @@ from mailman.config import config
from mailman.core.initialize import initialize_1
from mailman.database.model import Model
from mailman.utilities.string import expand
from public import public
from sqlalchemy import create_engine
......@@ -35,7 +34,7 @@ except AttributeError:
url = expand(config.database.url, None, config.paths)
# We can't use @public here. See GL#423
def run_migrations_offline():
"""Run migrations in 'offline' mode.
......@@ -51,7 +50,7 @@ def run_migrations_offline():
# We can't use @public here. See GL#423
def run_migrations_online():
"""Run migrations in 'online' mode.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment