[diffoscope] 01/01: Correct previous commit's str.replace argument.

Chris Lamb chris at chris-lamb.co.uk
Tue Dec 27 00:50:33 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 011987fdbebbaad6395d615fab925ea5cb16fb78
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Dec 26 23:50:30 2016 +0000

    Correct previous commit's str.replace argument.
    
    Gbp-Dch: Ignore
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/presenters/text.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/text.py b/diffoscope/presenters/text.py
index 9a5d113..cd943d6 100644
--- a/diffoscope/presenters/text.py
+++ b/diffoscope/presenters/text.py
@@ -36,7 +36,7 @@ def print_difference(difference, print_func, color=False):
             diff_output = difference.unified_diff
         # As an optimisation, output as much as possible in one go to avoid
         # unnecessary splitting, interpolating, etc.
-        print_func(diff_output.replace('\n', 'ā”‚ \n'))
+        print_func(diff_output.replace('\n', '\nā”‚ '))
 
 def print_details(difference, print_func, color=False):
     if not difference.details:

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


More information about the diffoscope mailing list