use absolute imports in Python code

Relative imports are no longer officially recommended.
This commit is contained in:
Sarah Hoffmann
2021-04-16 14:20:09 +02:00
parent c64193f839
commit 76b1885595
23 changed files with 67 additions and 67 deletions

View File

@@ -5,8 +5,8 @@ import subprocess
import logging
import gzip
from .connection import get_pg_env
from ..errors import UsageError
from nominatim.db.connection import get_pg_env
from nominatim.errors import UsageError
LOG = logging.getLogger()