tulsawebdevs / django-multi-gtfs

Django app to import and export General Transit Feed Specification (GTFS)
http://tulsawebdevs.org/
Apache License 2.0
50 stars 32 forks source link

Use skipinitialspace in CSV reader #68

Closed jwhitlock closed 6 years ago

jwhitlock commented 6 years ago

More feeds appear to be using whitespace in their CSV, (issues #56, #64), causing issues when processing the values. This adds the skipinitialspace option to the CSV reader, stripping them before we get to value processing.

I've also gotten qa_check.sh running cleanly again.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 4de1064cc182d82ce4eb3b8c88adfefa02fc9bc7 on jwhitlock:optional-whitespace into 434fd5b0fe1d2b0c571e37ac700a1c0e3b3332d9 on tulsawebdevs:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 4de1064cc182d82ce4eb3b8c88adfefa02fc9bc7 on jwhitlock:optional-whitespace into 434fd5b0fe1d2b0c571e37ac700a1c0e3b3332d9 on tulsawebdevs:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9c2ea6af8e2a7c27d00b2fba330cf2b64aee0084 on jwhitlock:optional-whitespace into 434fd5b0fe1d2b0c571e37ac700a1c0e3b3332d9 on tulsawebdevs:master.