Fix tile expiry for changes in pyosmium 2.15.0
authorTom Hughes <tom@compton.nu>
Fri, 18 Jan 2019 16:22:17 +0000 (16:22 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 18 Jan 2019 16:31:22 +0000 (16:31 +0000)
Closes #213

cookbooks/tile/files/default/bin/expire-tiles-single

index 44ba93b..9951643 100644 (file)
@@ -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