Barry Warsaw pushed to branch master at mailman / Mailman Core
Commits:
24f2439a by Barry Warsaw at 2017-10-16T11:02:36-04:00
Work around a bug/change in Alembic
In Alembic 0.9.6, they changed something which breaks the @public decorator on
these methods.
- - - - -
b0663b08 by Barry Warsaw at 2017-10-17T03:06:53+00:00
Merge branch 'issue423' into 'master'
Work around a bug/change in Alembic
Closes #423
See merge request mailman/mailman!330
- - - - -
1 changed file:
- src/mailman/database/alembic/env.py
Changes:
=====================================
src/mailman/database/alembic/env.py
=====================================
--- a/src/mailman/database/alembic/env.py
+++ b/src/mailman/database/alembic/env.py
@@ -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)
-@public
+# 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():
context.run_migrations()
-@public
+# We can't use @public here. See GL#423
def run_migrations_online():
"""Run migrations in 'online' mode.
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/32d3620e6e20e750f1b0c15b3648e4f4e703789c...b0663b08574f263a368d602a1a4d6cbddcf98aa3
---
View it on GitLab:
https://gitlab.com/mailman/mailman/compare/32d3620e6e20e750f1b0c15b3648e4f4e703789c...b0663b08574f263a368d602a1a4d6cbddcf98aa3
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org