python-imaging/Pillow — pull request #503 by manisandro (2014-01-25 23:13:12+00:00)
Title: Fix issue 447

Apparently some drivers only emit `SANE_STATUS_EOF` once, and `SANE_STATUS_IO_ERROR` after that. The code however assumed that the driver keeps emitting `SANE_STATUS_EOF`. This commit fixes this.