Re: reason for missing readline() in uploaded files?

2009-01-29 Thread Todd O'Bryan
On Thu, Jan 29, 2009 at 9:28 PM, Malcolm Tredinnick wrote: > > On Thu, 2009-01-29 at 15:40 -0500, Todd O'Bryan wrote: >> I'm trying to validate an uploaded csv file, so I want to read the >> first line of text and if it's not the right format, send an error >> message. Unfortunately, neither InMe

Re: reason for missing readline() in uploaded files?

2009-01-29 Thread Malcolm Tredinnick
On Thu, 2009-01-29 at 15:40 -0500, Todd O'Bryan wrote: > I'm trying to validate an uploaded csv file, so I want to read the > first line of text and if it's not the right format, send an error > message. Unfortunately, neither InMemoryUploadedFile nor > TemporaryUploadedFile have the readline() me

reason for missing readline() in uploaded files?

2009-01-29 Thread Todd O'Bryan
I'm trying to validate an uploaded csv file, so I want to read the first line of text and if it's not the right format, send an error message. Unfortunately, neither InMemoryUploadedFile nor TemporaryUploadedFile have the readline() method. Was that an oversight (in which case I'll create a two-l