summaryrefslogtreecommitdiff
path: root/src/mailman/database/base.py
diff options
context:
space:
mode:
authorAbhilash Raj2014-09-19 06:59:12 +0530
committerAbhilash Raj2014-09-19 06:59:12 +0530
commit6dd2ac32ee1f1e8f588c08fd5363f0f794d0a6b1 (patch)
treebf68d953616cd85bc14d3dee866998272fdfb506 /src/mailman/database/base.py
parent917c7fab696151743e4765560d55565ec8e8e38e (diff)
downloadmailman-6dd2ac32ee1f1e8f588c08fd5363f0f794d0a6b1.tar.gz
mailman-6dd2ac32ee1f1e8f588c08fd5363f0f794d0a6b1.tar.zst
mailman-6dd2ac32ee1f1e8f588c08fd5363f0f794d0a6b1.zip
Diffstat (limited to 'src/mailman/database/base.py')
-rw-r--r--src/mailman/database/base.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py
index b66513a2c..5eec853d6 100644
--- a/src/mailman/database/base.py
+++ b/src/mailman/database/base.py
@@ -107,18 +107,6 @@ class SABaseDatabase:
self.store = session()
self.store.commit()
- # def initialize_testing(self):
- # url = expand(config.database.url, config.paths)
- # log.debug('Database url: %s', url)
- # self.url = url
- # self._prepare(url)
- # self.engine = create_engine(url)
- # connection = self.engine.connect()
- # self.transaction = connection.begin_nested()
- # self.store = Session(connection)
- # self.store.commit()
-
-
def load_migrations(self, until=None):
"""Load schema migrations.