]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/status.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / nominatim / db / status.py
index aea25a976d8829a0fe65247e9d6fa8acb430c6c7..2c01de71466dca8fb237461509062c5c8c3e248a 100644 (file)
@@ -90,7 +90,7 @@ def get_status(conn: Connection) -> Tuple[Optional[dt.datetime], Optional[int],
         if cur.rowcount < 1:
             return None, None, None
 
         if cur.rowcount < 1:
             return None, None, None
 
-        row = cast(StatusRow, cur.fetchone()) # type: ignore[no-untyped-call]
+        row = cast(StatusRow, cur.fetchone())
         return row['lastimportdate'], row['sequence_id'], row['indexed']
 
 
         return row['lastimportdate'], row['sequence_id'], row['indexed']