[diffoscope] 02/03: Reflow long line in container utilities.

Chris Lamb chris at chris-lamb.co.uk
Tue Mar 14 19:00:04 CET 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit 5af859455a4ea8157c5b68c95117a366fcae703f
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Mar 14 15:10:30 2017 +0100

    Reflow long line in container utilities.
    
    Gbp-Dch: ignore
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/comparators/utils/container.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/diffoscope/comparators/utils/container.py b/diffoscope/comparators/utils/container.py
index db6c478..4e23466 100644
--- a/diffoscope/comparators/utils/container.py
+++ b/diffoscope/comparators/utils/container.py
@@ -113,7 +113,8 @@ class Container(object, metaclass=abc.ABCMeta):
 
             my_members = my_reminders
             for my_name, other_name, score in perform_fuzzy_matching(my_members, other_members):
-                comment = 'Files similar despite different names (difference score: %d)' % score
+                comment = "Files similar despite different names" \
+                    " (difference score: {})".format(score)
                 p.step(2, msg=my_name)
                 yield my_members.pop(my_name), other_members.pop(other_name), comment
 

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


More information about the diffoscope mailing list