cbick/gtfs_SQL_importer — pull request #2 by atogle (2011-12-09 20:09:41+00:00)
Title: Strip spaces from column names

I ran into an issue where my GTFS had a leading space in the values of the header row. In my particular case, the script bombed on line 70 because the key 'arrival_time' didn't exist, only ' arrival_time'. I just added a list comprehension to strip all of the header values.