mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-14 14:54:06 +00:00
use absolute imports in Python code
Relative imports are no longer officially recommended.
This commit is contained in:
@@ -3,8 +3,8 @@ Implementation of the 'index' subcommand.
|
||||
"""
|
||||
import psutil
|
||||
|
||||
from ..db import status
|
||||
from ..db.connection import connect
|
||||
from nominatim.db import status
|
||||
from nominatim.db.connection import connect
|
||||
|
||||
# Do not repeat documentation of subcommand classes.
|
||||
# pylint: disable=C0111
|
||||
|
||||
Reference in New Issue
Block a user