summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhilash Raj2014-09-24 23:15:48 +0530
committerAbhilash Raj2014-09-24 23:15:48 +0530
commit7d8c36da200d87a37250d4300b50a98602130614 (patch)
tree90e0d0a093605af9c452b3a0681ea0d8cfa1214a
parente9ab3f31504a176f483c8340b3ad2ba7679fe285 (diff)
downloadmailman-7d8c36da200d87a37250d4300b50a98602130614.tar.gz
mailman-7d8c36da200d87a37250d4300b50a98602130614.tar.zst
mailman-7d8c36da200d87a37250d4300b50a98602130614.zip
added license block for the new file
-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