X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5aad105c736a3866d222b31ee9bda8cf5454c8f9..6b55ab5581a3f6541d16fb7544ce8fd57dc2a673:/nominatim/tools/admin.py diff --git a/nominatim/tools/admin.py b/nominatim/tools/admin.py index 9fb944d3..da7845eb 100644 --- a/nominatim/tools/admin.py +++ b/nominatim/tools/admin.py @@ -49,7 +49,7 @@ def _get_place_info(cursor: Cursor, osm_id: Optional[str], LOG.fatal("OSM object %s not found in database.", osm_id) raise UsageError("OSM object not found") - return cast(DictCursorResult, cursor.fetchone()) # type: ignore[no-untyped-call] + return cast(DictCursorResult, cursor.fetchone()) def analyse_indexing(config: Configuration, osm_id: Optional[str] = None,