mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
use absolute imports in Python code
Relative imports are no longer officially recommended.
This commit is contained in:
@@ -6,8 +6,8 @@ import subprocess
|
||||
import urllib.request as urlrequest
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from ..version import NOMINATIM_VERSION
|
||||
from ..db.connection import get_pg_env
|
||||
from nominatim.version import NOMINATIM_VERSION
|
||||
from nominatim.db.connection import get_pg_env
|
||||
|
||||
LOG = logging.getLogger()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user