]> git.openstreetmap.org Git - nominatim.git/commit
restrict use of os.environ in Configuration
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 1 Sep 2024 14:17:30 +0000 (16:17 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 1 Sep 2024 14:17:30 +0000 (16:17 +0200)
commit882fb16881a862c372337708e190a441d82eb495
tree19e682d13a44c5921bffb21be4fc6034e38e7ffe
parent72be143cef05bf77655cebbfb0f82b8d3426872e
restrict use of os.environ in Configuration

Only use the OS environment, when the environ parameter is set
to None. Currently it would use the OS env on an empty dict.
src/nominatim_db/config.py
test/python/api/search/test_icu_query_analyzer.py
test/python/api/search/test_legacy_query_analyzer.py
test/python/api/test_api_status.py