summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/database/alembic/README1
-rw-r--r--src/mailman/database/alembic/env.py18
2 files changed, 18 insertions, 1 deletions
diff --git a/src/mailman/database/alembic/README b/src/mailman/database/alembic/README
deleted file mode 100644
index 98e4f9c44..000000000
--- a/src/mailman/database/alembic/README
+++ /dev/null
@@ -1 +0,0 @@
-Generic single-database configuration. \ No newline at end of file
diff --git a/src/mailman/database/alembic/env.py b/src/mailman/database/alembic/env.py
index 8c5e0b342..68d967b7e 100644
--- a/src/mailman/database/alembic/env.py
+++ b/src/mailman/database/alembic/env.py
@@ -1,4 +1,22 @@
+# Copyright (C) 2006-2014 by the Free Software Foundation, Inc.
+#
+# This file is part of GNU Mailman.
+#
+# GNU Mailman is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
+
from __future__ import with_statement
+
from alembic import context
from sqlalchemy import create_engine, pool
from logging.config import fileConfig