]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/steps/osm2pgsql_setup.py
ignore encoding errors when reading log files
[nominatim.git] / 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':
-        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: