]> git.openstreetmap.org Git - chef.git/commitdiff
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 44ba93b03b5bade546a2aec069d78d5151cf46c0..99516431402a9ba17423523cfbe19b2bcf7dba53 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