summaryrefslogtreecommitdiff
path: root/src/mailman/database/__init__.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-08-12 00:31:37 -0400
committerBarry Warsaw2009-08-12 00:31:37 -0400
commit7b18faa190894408254deb02901cd9bdcd5c70e3 (patch)
tree933966fb6d9391b48d70e03419aeba95c8491f83 /src/mailman/database/__init__.py
parent1dddebc50c9800688bcb9f7ba155a91cc5ed0fae (diff)
downloadmailman-7b18faa190894408254deb02901cd9bdcd5c70e3.tar.gz
mailman-7b18faa190894408254deb02901cd9bdcd5c70e3.tar.zst
mailman-7b18faa190894408254deb02901cd9bdcd5c70e3.zip
'mailman info' command.
Diffstat (limited to '')
-rw-r--r--src/mailman/database/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/database/__init__.py b/src/mailman/database/__init__.py
index dc3a86560..5943df660 100644
--- a/src/mailman/database/__init__.py
+++ b/src/mailman/database/__init__.py
@@ -55,6 +55,7 @@ class StockDatabase:
implements(IDatabase)
def __init__(self):
+ self.url = None
self.list_manager = None
self.user_manager = None
self.message_store = None
@@ -105,6 +106,7 @@ class StockDatabase:
# ensuring the right permissions. We only try to do this for SQLite
# engines, and yes, we could have chmod'd the file after the fact, but
# half dozen and all...
+ self.url = url
touch(url)
database = create_database(url)
store = Store(database, GenerationalCache())