onyxfish/csvkit — Issue #140: in2csv error while looking for Mac line endings
Author: gilcreque
Created: 2012-01-13 21:10:26+00:00
State: open

I'm running the following command (using FEC Individual Contribution Data and schema from example)

in2csv -e latin1 -f fixed -s dictionary.csv itcont.dta > clean.csv

and I'm receiving the following error

```python
Traceback (most recent call last):
File "/usr/bin/in2csv", line 3, in ?
from csvkit.utilities.in2csv import In2CSV
File "/usr/lib/python2.4/site-packages/csvkit/__init__.py", line 35
row = [i.replace('\r', '\n') if isinstance(i, basestring) else i for i in row]
^
SyntaxError: invalid syntax
```