X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..0770eaa5d04200aec75653b1ec495ba1a214eaab:/src/nominatim_db/tools/add_osm_data.py?ds=sidebyside diff --git a/src/nominatim_db/tools/add_osm_data.py b/src/nominatim_db/tools/add_osm_data.py index 44ff2197..c7f2efe2 100644 --- a/src/nominatim_db/tools/add_osm_data.py +++ b/src/nominatim_db/tools/add_osm_data.py @@ -12,12 +12,13 @@ from pathlib import Path import logging import urllib -from nominatim_core.db.connection import connect -from nominatim_core.utils.url_utils import get_url +from ..db.connection import connect +from ..utils.url_utils import get_url from .exec_utils import run_osm2pgsql LOG = logging.getLogger() + def _run_osm2pgsql(dsn: str, options: MutableMapping[str, Any]) -> None: run_osm2pgsql(options)