dmanty45 / bots

Automatically exported from code.google.com/p/bots
0 stars 0 forks source link

improve: allow csv-files that have no terminating CR/LF #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
sometimes csv files have no terminating record-separator (typically CR/LF). 
This is related to using email as communication protocol.

Bots now allows this in csv by setting the (new) syntax-parameter 
'allow_lastrecordnotclosedproperly' to True. Default is False.
Beware: certains checks will not be performed if this is used!

Also a bug was solved: if last record had not record separator, but a extra 
field seperator, this did not lead to an error.

Original issue reported on code.google.com by hjebb...@gmail.com on 3 Aug 2011 at 3:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by hjebb...@gmail.com on 10 Sep 2013 at 12:44