diff options
| author | Barry Warsaw | 2012-07-25 14:20:06 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-07-25 14:20:06 -0400 |
| commit | 3ecb13338d36f7f4bccb609bdb2d54ff11359f8f (patch) | |
| tree | f9ab028a80b3c211a4fa34bb2b074968c04df1f7 /src/mailman/database/postgresql.py | |
| parent | 8dec52e851c4cd8fcdd29702b95fad039fcedf2a (diff) | |
| download | mailman-3ecb13338d36f7f4bccb609bdb2d54ff11359f8f.tar.gz mailman-3ecb13338d36f7f4bccb609bdb2d54ff11359f8f.tar.zst mailman-3ecb13338d36f7f4bccb609bdb2d54ff11359f8f.zip | |
Diffstat (limited to 'src/mailman/database/postgresql.py')
| -rw-r--r-- | src/mailman/database/postgresql.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/database/postgresql.py b/src/mailman/database/postgresql.py index 1d1abca9e..4200ae4fe 100644 --- a/src/mailman/database/postgresql.py +++ b/src/mailman/database/postgresql.py @@ -43,13 +43,10 @@ class _TestDB: self.database = database def cleanup(self): - self.database.store.execute('ABORT;') + self.database.store.rollback() self.database.store.close() config.db.store.execute('DROP DATABASE mmtest;') - def abort(self): - self.database.store.execute('ABORT;') - class PostgreSQLDatabase(StormBaseDatabase): |
