From: Tom Hughes Date: Fri, 18 Jan 2019 16:22:17 +0000 (+0000) Subject: Fix tile expiry for changes in pyosmium 2.15.0 X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/788bbec3f0b560a41228c5b3e286fa6514b7d066 Fix tile expiry for changes in pyosmium 2.15.0 Closes #213 --- diff --git a/cookbooks/tile/files/default/bin/expire-tiles-single b/cookbooks/tile/files/default/bin/expire-tiles-single index 44ba93b03..995164314 100644 --- a/cookbooks/tile/files/default/bin/expire-tiles-single +++ b/cookbooks/tile/files/default/bin/expire-tiles-single @@ -52,7 +52,7 @@ class TileCollector(o.SimpleHandler): self.done_nodes.add(n.ref) try: self.add_tile_from_node(self.node_cache.get(n.ref)) - except o.NotFoundError: + except KeyError: pass # no coordinate