lovelysystems/robotframework-imaplibrary — pull request #19 by fkberthold (2014-03-06 17:12:30+00:00)
Title: Fix for multipart-mime

When using the library, I found that it was not processing multipart-mime files correctly.

I compared it to: http://stackoverflow.com/questions/348630/how-can-i-download-all-emails-with-attachments-from-gmail

There I found that it looks like doing a 'decode()' on the output of fetch breaks email's message_from_string function. Just removing it seems to fix the problem.

Additionally I modified the timeout in the wait_for_mail keyword. The present version treats all actions inside it as though they were free. This takes them into account, and decreases the number of lines of code (by 1, very exciting).