mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-13 06:14:07 +00:00
use absolute imports in Python code
Relative imports are no longer officially recommended.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user