X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3cdfe066336ad19772d300a85d6c1feaadc074ea..cdfc8628f22a5be2d8ad402adeb9bd6bfcaeface:/test/bdd/steps/place_inserter.py?ds=sidebyside diff --git a/test/bdd/steps/place_inserter.py b/test/bdd/steps/place_inserter.py index 90f071b2..6e7e6a75 100644 --- a/test/bdd/steps/place_inserter.py +++ b/test/bdd/steps/place_inserter.py @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 by the Nominatim developer community. +# For a full list of authors see the git log. """ Helper classes for filling the place table. """ @@ -77,7 +83,7 @@ class PlaceColumn: self._add_hstore('address', 'country', value) def _set_key_geometry(self, value): - self.geometry = self.context.osm.parse_geometry(value, self.context.scene) + self.geometry = self.context.osm.parse_geometry(value) assert self.geometry is not None, "Bad geometry: {}".format(value) def _add_hstore(self, column, key, value):