]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix typo in osm test file generator
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 19 Oct 2014 22:02:29 +0000 (00:02 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 19 Oct 2014 22:02:29 +0000 (00:02 +0200)
tests/steps/osm2pgsql_setup.py

index 40a6b39e7587752d535b881fb15935f9ac4f2ba0..759ca93d85594333ee171fe08027b8e3e582793f 100644 (file)
@@ -108,7 +108,7 @@ def _sort_xml_entries(x, y):
 
 def write_osm_obj(fd, obj):
     if obj['type'] == 'N':
 
 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:
         if obj['tags'] is None:
             fd.write('/>\n')
         else: