On 12 Jul, 16:46, Billy Mays <no...@nohow.com> wrote:

> I know the problem lies with the StopIteration, but I'm not sure how to
> tell the caller that there are no more lines for now.

Try 'yield None' instead of 'raise StopIteration'.

Sturla


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to