]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/admin.py
Integrated 'collect_os_info.py' into Nominatim's CLI tool
[nominatim.git] / nominatim / tools / admin.py
index 9fb944d3ada0b45e956396253ed2ebd3cdd2c856..da7845ebc949696145588b393664d4be2077eb37 100644 (file)
@@ -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,