From 788bbec3f0b560a41228c5b3e286fa6514b7d066 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 18 Jan 2019 16:22:17 +0000 Subject: [PATCH] Fix tile expiry for changes in pyosmium 2.15.0 Closes #213 --- cookbooks/tile/files/default/bin/expire-tiles-single | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5