agrc / ugs-db

Database seeder for UGS data
2 stars 1 forks source link

Remove excess whitespace #27

Closed steveoh closed 9 years ago

steveoh commented 9 years ago

remove whitespace on input rows values.

the pythonic way would be to try and ask for forgiveness

try:
    value = value.strip()
except:
    pass
stdavis commented 9 years ago

This is already in version2 so I'm not sure how the padding is getting in.

steveoh commented 9 years ago

we are using nvarchar as the text type which doesn't reserve the storage for Results only. It's nchar for Stations. Fix that and the bug will go away.

stdavis commented 9 years ago

Closed with #29