]> git.openstreetmap.org Git - nominatim.git/commit
use more generic ImportError to check for module
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 23 Apr 2021 19:10:19 +0000 (21:10 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 23 Apr 2021 20:50:08 +0000 (22:50 +0200)
commit3a642d50a4b03e8c0a23cdd1999b5c23d12ce137
tree64bca0cda9fad3a76bf8e64d24f8b7bc3e994d0c
parent9685c68e30ae77cf0b0b196cf148becdfe7bcb5c
use more generic ImportError to check for module

ModuleNotFoundError was only introduced in Python 3.6.
nominatim/db/async_connection.py
nominatim/tools/replication.py