]> git.openstreetmap.org Git - nominatim.git/commitdiff
cli: import python modules for commands on demand
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 21 Jan 2021 09:19:38 +0000 (10:19 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 26 Jan 2021 21:50:54 +0000 (22:50 +0100)
Given that only one command will be executed in the end, it is
not necessary to import what amounts to the whole library. This
becomes in particular important for update functions that have
a dependency on pyosmium. The dependency can remain optional for
people not using updates.


No differences found