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

@@ -4,7 +4,7 @@ Implementation of 'refresh' subcommand.
import logging
from pathlib import Path
from ..db.connection import connect
from nominatim.db.connection import connect
# Do not repeat documentation of subcommand classes.
# pylint: disable=C0111