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

@@ -3,8 +3,8 @@ Implementation of the 'admin' subcommand.
"""
import logging
from ..tools.exec_utils import run_legacy_script
from ..db.connection import connect
from nominatim.tools.exec_utils import run_legacy_script
from nominatim.db.connection import connect
# Do not repeat documentation of subcommand classes.
# pylint: disable=C0111