From 26c2823208ad48c1232562672b8982327a90f470 Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 14 Mar 2015 18:58:18 -0400 Subject: [PATCH] [fix] comma --- scripts/geodata/geonames/create_geonames_tsv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/geonames/create_geonames_tsv.py b/scripts/geodata/geonames/create_geonames_tsv.py index feee8f72..11da9de4 100644 --- a/scripts/geodata/geonames/create_geonames_tsv.py +++ b/scripts/geodata/geonames/create_geonames_tsv.py @@ -270,7 +270,7 @@ POSTAL_FIELDS_HEADER_FILE = '''enum gn_postal_fields {{ NUM_POSTAL_FIELDS }}; '''.format(fields=''', - '''.join(['{}={},'.format(f.c_constant, i) for i, f in enumerate(postal_code_fields)])) + '''.join(['{}={}'.format(f.c_constant, i) for i, f in enumerate(postal_code_fields)])) def write_postal_fields_header(filename=POSTAL_FIELDS_HEADER):