mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +00:00
use absolute imports in Python code
Relative imports are no longer officially recommended.
This commit is contained in:
@@ -5,8 +5,8 @@ import subprocess
|
||||
import logging
|
||||
import gzip
|
||||
|
||||
from .connection import get_pg_env
|
||||
from ..errors import UsageError
|
||||
from nominatim.db.connection import get_pg_env
|
||||
from nominatim.errors import UsageError
|
||||
|
||||
LOG = logging.getLogger()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user