mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-01 06:14:11 +03:00
fix typo in osm test file generator
This commit is contained in:
parent
02c219d40e
commit
475108b937
@ -108,7 +108,7 @@ def _sort_xml_entries(x, y):
|
||||
|
||||
def write_osm_obj(fd, obj):
|
||||
if obj['type'] == 'N':
|
||||
fd.write('<node id="%(id)d" lat="%(lat).8f" lon="%(lon).8f" version="%(version)s" timestamp="%(timestamp)%" changeset="%(changeset)s" uid="%(uid)s" user="%(user)s"'% obj)
|
||||
fd.write('<node id="%(id)d" lat="%(lat).8f" lon="%(lon).8f" version="%(version)s" timestamp="%(timestamp)s" changeset="%(changeset)s" uid="%(uid)s" user="%(user)s"'% obj)
|
||||
if obj['tags'] is None:
|
||||
fd.write('/>\n')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user