[Tile-serving] [osm2pgsql-dev/osm2pgsql] Fix presence check for replication script in style tester (PR #2466)
Sarah Hoffmann
notifications at github.com
Thu May 14 09:23:26 UTC 2026
The spec_from_loader() function does not check for validity of the file. So simply check for presence of the file. Also adds a little try-except around the module execution to print an additional message pointing towards the replication script if loading of the module goes wrong.
Fixes #2464.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466
-- Commit Summary --
* test script: test for file presence of replication script
-- File Changes --
M scripts/osm2pgsql-test-style (16)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466.patchhttps://github.com/osm2pgsql-dev/osm2pgsql/pull/2466.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2466
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2466 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260514/a230033b/attachment.htm>
More information about the Tile-serving
mailing list