X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/49f889bf09f78f7f475cf64ed4b06be9e00247ca..2af20f8df88461f2593c7fa0851e3841f20d66c3:/nominatim/tools/collect_os_info.py diff --git a/nominatim/tools/collect_os_info.py b/nominatim/tools/collect_os_info.py index 9d76f229..29e1cd53 100644 --- a/nominatim/tools/collect_os_info.py +++ b/nominatim/tools/collect_os_info.py @@ -20,7 +20,7 @@ from psycopg2.extensions import make_dsn, parse_dsn from nominatim.config import Configuration from nominatim.db.connection import connect from nominatim.typing import DictCursorResults -from nominatim.version import version_str +from nominatim.version import NOMINATIM_VERSION def convert_version(ver_tup: Tuple[int, int]) -> str: @@ -135,8 +135,8 @@ def report_system_information(config: Configuration) -> None: **Software Environment:** - Python version: {sys.version} - - Nominatim version: {version_str()} - - PostgreSQL version: {postgresql_ver} + - Nominatim version: {NOMINATIM_VERSION!s} + - PostgreSQL version: {postgresql_ver} - PostGIS version: {postgis_ver} - OS: {os_name_info()}