X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..8e5a19b39209f20f41b7bd10ff7dbcdb8a3dcb9c:/src/nominatim_db/tools/refresh.py diff --git a/src/nominatim_db/tools/refresh.py b/src/nominatim_db/tools/refresh.py index 96608097..6a40c0a7 100644 --- a/src/nominatim_db/tools/refresh.py +++ b/src/nominatim_db/tools/refresh.py @@ -16,10 +16,10 @@ from pathlib import Path from psycopg2 import sql as pysql -from nominatim_core.config import Configuration -from nominatim_core.db.connection import Connection, connect -from nominatim_core.db.utils import execute_file, CopyBuffer -from nominatim_core.db.sql_preprocessor import SQLPreprocessor +from ..config import Configuration +from ..db.connection import Connection, connect +from ..db.utils import execute_file, CopyBuffer +from ..db.sql_preprocessor import SQLPreprocessor from ..version import NOMINATIM_VERSION LOG = logging.getLogger() @@ -154,7 +154,7 @@ def import_importance_csv(dsn: str, data_file: Path) -> int: if not data_file.exists(): return 1 - # Only import the first occurance of a wikidata ID. + # Only import the first occurence of a wikidata ID. # This keeps indexes and table small. wd_done = set()