Fixed linting errors

This commit is contained in:
Robbe Haesendonck
2023-09-21 09:58:38 +02:00
committed by Sarah Hoffmann
parent 8e71ff329c
commit cc0bdd34e9
2 changed files with 12 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ def _require_version(module: str, actual: Tuple[int, int], expected: Tuple[int,
def check_existing_database_plugins(dsn: str):
""" Check that the database has the required plugins installed."""
with connect(dsn) as conn:
_require_version('PostgreSQL server',
conn.server_version_tuple(),