[diffoscope] 03/04: comparators.elf: Show the ELF section in the progress bar and the source filename.
Chris Lamb
chris at chris-lamb.co.uk
Thu Dec 29 00:17:25 CET 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 520b0862b5161ab4f9fd75231c18401b1d338860
Author: Chris Lamb <lamby at debian.org>
Date: Wed Dec 28 23:13:38 2016 +0000
comparators.elf: Show the ELF section in the progress bar and the source filename.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/elf.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/diffoscope/comparators/elf.py b/diffoscope/comparators/elf.py
index d650ead..2570d65 100644
--- a/diffoscope/comparators/elf.py
+++ b/diffoscope/comparators/elf.py
@@ -252,6 +252,13 @@ class ElfSection(File):
return self._name
@property
+ def progress_name(self):
+ return "{} [{}]".format(
+ self.container.source.progress_name,
+ super().progress_name,
+ )
+
+ @property
def path(self):
return self.container.source.path
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list