X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/64499e46eecd244b02e789288d11d409040917e2..e747b6c82a1b75ae654682ae8ba2057c9fc13521:/cookbooks/tile/files/default/bin/expire-tiles-single?ds=sidebyside diff --git a/cookbooks/tile/files/default/bin/expire-tiles-single b/cookbooks/tile/files/default/bin/expire-tiles-single index 44ba93b03..219c45dd4 100644 --- a/cookbooks/tile/files/default/bin/expire-tiles-single +++ b/cookbooks/tile/files/default/bin/expire-tiles-single @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 """ Expire meta tiles from a OSM change file by resetting their modified time. """ @@ -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