[diffoscope] 03/05: comparators.image: Correct location of noqa stub for imagemagick calls.

Chris Lamb chris at chris-lamb.co.uk
Thu Feb 2 03:51:25 CET 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit dfc6ed9b01046038021f1a8e7c366cc672fb21ed
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Feb 2 14:40:39 2017 +1300

    comparators.image: Correct location of noqa stub for imagemagick calls.
---
 diffoscope/comparators/image.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/diffoscope/comparators/image.py b/diffoscope/comparators/image.py
index fc3bf23..2e78c98 100644
--- a/diffoscope/comparators/image.py
+++ b/diffoscope/comparators/image.py
@@ -100,8 +100,8 @@ class ICOImageFile(File):
         # img2txt does not support .ico files directly so convert to .PNG.
         try:
             png_a, png_b = [ICOImageFile.convert(x) for x in (self, other)]
-        except subprocess.CalledProcessError:
-            pass  # noqa
+        except subprocess.CalledProcessError:  # noqa
+            pass
         else:
             differences.append(Difference.from_command(Img2Txt, png_a, png_b))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list