]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/utils.py
simplify weigh_search() function
[nominatim.git] / nominatim / db / utils.py
index 9a7b4f164787b8abb03831477fe3b876357e9b25..e3f0712a11b6f53551bc90e4734798e441f33142 100644 (file)
@@ -118,4 +118,4 @@ class CopyBuffer:
         """
         if self.buffer.tell() > 0:
             self.buffer.seek(0)
         """
         if self.buffer.tell() > 0:
             self.buffer.seek(0)
-            cur.copy_from(self.buffer, table, columns=columns) # type: ignore[no-untyped-call]
+            cur.copy_from(self.buffer, table, columns=columns)