Author: tack
Date: Sun Jan 20 19:31:10 2008
New Revision: 2996

Log:
Sync my local tree, this likely fixed a crash on one of my files. :)


Modified:
   trunk/metadata/src/image/png.py

Modified: trunk/metadata/src/image/png.py
==============================================================================
--- trunk/metadata/src/image/png.py     (original)
+++ trunk/metadata/src/image/png.py     Sun Jan 20 19:31:10 2008
@@ -77,7 +77,7 @@
     def _readChunk(self,file):
         try:
             (length, type) = struct.unpack('>I4s', file.read(8))
-        except (OSError, IOError):
+        except (OSError, IOError, struct.error):
             return 0
 
         key = None

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to