summaryrefslogtreecommitdiff
path: root/src/mailman/database/base.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-07-22 03:02:05 +0000
committerBarry Warsaw2017-07-22 03:02:05 +0000
commitf00b94f18e1d82d1488cbcee6053f03423bc2f49 (patch)
tree1a8e56dff0eab71e58e5fc9ecc5f3c614d7edca7 /src/mailman/database/base.py
parentf54c045519300f6f70947d1114f46c2b8ae0d368 (diff)
downloadmailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.tar.gz
mailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.tar.zst
mailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.zip
Diffstat (limited to 'src/mailman/database/base.py')
-rw-r--r--src/mailman/database/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py
index 934e62411..881129093 100644
--- a/src/mailman/database/base.py
+++ b/src/mailman/database/base.py
@@ -115,7 +115,7 @@ class SABaseDatabase:
# XXX This can all be removed once SQLAlchemy 1.2 is released, and we
# pass `pool_pre_ping=True` to create_engine().
@event.listens_for(self.engine, 'engine_connect') # noqa: E306
- def ping_connection(connection, branch): # pragma: no cover
+ def ping_connection(connection, branch): # pragma: nocover
if branch:
# "branch" refers to a sub-connection of a connection;
# we don't want to bother pinging on these.