[diffoscope] 01/01: comparators.cpio: Tidy
Chris Lamb
chris at chris-lamb.co.uk
Wed Feb 8 10:49:52 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 27cb967187493bde14b7fe649bf923cf59efb203
Author: Chris Lamb <lamby at debian.org>
Date: Wed Feb 8 20:49:16 2017 +1300
comparators.cpio: Tidy
Gbp-Dch: ignore
---
diffoscope/comparators/cpio.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/diffoscope/comparators/cpio.py b/diffoscope/comparators/cpio.py
index ce2ef12..9fde04d 100644
--- a/diffoscope/comparators/cpio.py
+++ b/diffoscope/comparators/cpio.py
@@ -31,6 +31,10 @@ class CpioFile(File):
RE_FILE_TYPE = re.compile(r'\bcpio archive\b')
def compare_details(self, other, source=None):
- return [Difference.from_text_readers(list_libarchive(self.path),
- list_libarchive(other.path),
- self.path, other.path, source="file list")]
+ return [Difference.from_text_readers(
+ list_libarchive(self.path),
+ list_libarchive(other.path),
+ self.path,
+ other.path,
+ source="file list",
+ )]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list