~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to src/mailman/database/alembic/env.py

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Alembic migration environment."""
19
19
 
20
 
from __future__ import absolute_import, print_function, unicode_literals
21
 
 
22
 
__metaclass__ = type
23
20
__all__ = [
24
21
    'run_migrations_offline',
25
22
    'run_migrations_online',
28
25
 
29
26
from alembic import context
30
27
from contextlib import closing
31
 
from sqlalchemy import create_engine
32
 
 
33
28
from mailman.config import config
34
29
from mailman.database.model import Model
35
30
from mailman.utilities.string import expand
 
31
from sqlalchemy import create_engine
36
32
 
37
33
 
38
34