[diffoscope] 02/03: comparators.image: Reflow compare_details indentation.

Chris Lamb chris at chris-lamb.co.uk
Sun Jan 15 02:26:35 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 bd15ecb7b99defb5ef75e987ba9f6345f4001bc1
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jan 15 11:15:50 2017 +1100

    comparators.image: Reflow compare_details indentation.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/image.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/diffoscope/comparators/image.py b/diffoscope/comparators/image.py
index ad6d654..9ad50d5 100644
--- a/diffoscope/comparators/image.py
+++ b/diffoscope/comparators/image.py
@@ -85,8 +85,10 @@ class JPEGImageFile(File):
         return JPEGImageFile.RE_FILE_TYPE.search(file.magic_file_type)
 
     def compare_details(self, other, source=None):
-        return [Difference.from_command(Img2Txt, self.path, other.path),
-                Difference.from_command(Identify, self.path, other.path)]
+        return [
+            Difference.from_command(Img2Txt, self.path, other.path),
+            Difference.from_command(Identify, self.path, other.path),
+        ]
 
 class ICOImageFile(File):
     RE_FILE_TYPE = re.compile(r'\bMS Windows icon resource\b')
@@ -102,8 +104,10 @@ class ICOImageFile(File):
         except subprocess.CalledProcessError:
             return []
 
-        return [Difference.from_command(Img2Txt, *xs),
-                Difference.from_command(Identify, self.path, other.path)]
+        return [
+            Difference.from_command(Img2Txt, *xs),
+            Difference.from_command(Identify, self.path, other.path),
+        ]
 
     @staticmethod
     @tool_required('icotool')

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


More information about the diffoscope mailing list