diff options
| author | Barry Warsaw | 2012-07-25 12:23:29 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-07-25 12:23:29 -0400 |
| commit | 9ef8a1268f1b2902ad46852937dd7bc977c5b2b1 (patch) | |
| tree | 62ba81c9694fb41581bbaab95a9662cc73798a2d /src/mailman/database/sqlite.py | |
| parent | 5598b9eea196e4085aa91aaf8a0cacaffa200355 (diff) | |
| download | mailman-9ef8a1268f1b2902ad46852937dd7bc977c5b2b1.tar.gz mailman-9ef8a1268f1b2902ad46852937dd7bc977c5b2b1.tar.zst mailman-9ef8a1268f1b2902ad46852937dd7bc977c5b2b1.zip | |
Diffstat (limited to 'src/mailman/database/sqlite.py')
| -rw-r--r-- | src/mailman/database/sqlite.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/database/sqlite.py b/src/mailman/database/sqlite.py index 4e5df55a5..39e7e8113 100644 --- a/src/mailman/database/sqlite.py +++ b/src/mailman/database/sqlite.py @@ -27,6 +27,7 @@ __all__ = [ import os import shutil +import sqlite3 import tempfile from urlparse import urlparse @@ -49,6 +50,7 @@ class SQLiteDatabase(StormBaseDatabase): """Database class for SQLite.""" TAG = 'sqlite' + Error = sqlite3.OperationalError def _database_exists(self, store): """See `BaseDatabase`.""" |
