]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/db/utils.py
look up all places at once
[nominatim.git] / src / nominatim_db / db / utils.py
index 02e5bd2d35ed825c322d07c203e64795de308f5b..63eba72cfc5a29f26ba51a24342b066a530654f5 100644 (file)
@@ -18,6 +18,7 @@ from ..errors import UsageError
 
 LOG = logging.getLogger()
 
+
 def _pipe_to_proc(proc: 'subprocess.Popen[bytes]',
                   fdesc: Union[IO[bytes], gzip.GzipFile]) -> int:
     assert proc.stdin is not None
@@ -31,6 +32,7 @@ def _pipe_to_proc(proc: 'subprocess.Popen[bytes]',
 
     return len(chunk)
 
+
 def execute_file(dsn: str, fname: Path,
                  ignore_errors: bool = False,
                  pre_code: Optional[str] = None,