mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-07 10:34:08 +00:00
Fixed linting errors
This commit is contained in:
committed by
Sarah Hoffmann
parent
8e71ff329c
commit
cc0bdd34e9
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user