Undo cleanup reversal

"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d and PR #474. I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
This commit is contained in:
Hugo 2014-04-12 12:43:24 +03:00
parent bfc05b7a8c
commit be201bf4f3

View File

@ -1033,7 +1033,7 @@ class OleFileIO:
if entry[1:2] == "Image":
fin = ole.openstream(entry)
fout = open(entry[0:1], "wb")
while 1:
while True:
s = fin.read(8192)
if not s:
break