[Pkg-privacy-commits] [mat] 24/68: Simplify a bit the hachoir-powered image parser

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository mat.

commit 83831def42e3311518f30ae9414f8f518ee0102e
Author: jvoisin <julien.voisin at dustri.org>
Date:   Wed Nov 25 18:30:37 2015 +0100

    Simplify a bit the hachoir-powered image parser
---
 libmat/images.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmat/images.py b/libmat/images.py
index 0c4f3e0..813b0fd 100644
--- a/libmat/images.py
+++ b/libmat/images.py
@@ -47,6 +47,6 @@ class PngStripper(parser.GenericParser):
             'end'])      # end of the image
         if field.name in field_list:
             return False
-        if field.name.startswith('data['):  # data
+        elif field.name.startswith('data['):  # data
             return False
         return True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list