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

@@ -8,9 +8,9 @@ This module will be removed as soon as the transition phase is over.
import logging
from pathlib import Path
from ..db.connection import connect
from ..db import status
from ..errors import UsageError
from nominatim.db.connection import connect
from nominatim.db import status
from nominatim.errors import UsageError
# Do not repeat documentation of subcommand classes.
# pylint: disable=C0111