Jesse Guardiani <[EMAIL PROTECTED]> writes:

> All you have to do is this:
>
>   msgin = msg_from_file(sys.stdin)
>
> instead of:
>
>   stdin = StringIO(sys.stdin.read())
>   msgin = msg_from_file(stdin)

Did you consider that there might be a good reason for why I used
StringIO to capture stdin this way instead of doing it the way you
propose?
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to