This commit is contained in:
Komzpa 2011-10-05 22:34:18 +02:00
parent b44db29940
commit ea66e2e909

View file

@ -82,7 +82,7 @@ if options.osm2pgsqlstyle != "-":
osm2pgsql_avail_keys[line[1]] = tuple(line[0].split(","))
def escape_sql_column(name, type="way", asname = False)
def escape_sql_column(name, type="way", asname = False):
if name in mapped_cols:
return name # already escaped
name = name.strip().strip('"')