Commits

Oliver Tonnhofer committed 903e429

removed redundant code introduced in manual merge with pil-2009-raclette

Comments (0)

Files changed (1)

PIL/PngImagePlugin.py

         # transparency
         s = self.fp.saferead(len)
         if self.im_mode == "P":
-            i = s.find(chr(0))
-            if i >= 0:
-                self.im_info["transparency"] = i
             if _simple_palette.match(s.tostring()):
                 i = s.find(s, chr(0))
                 if i >= 0: