[diffoscope] 11/12: fix pep8 E228

Mattia Rizzolo mattia at debian.org
Sat Sep 9 22:04:39 CEST 2017


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

mattia pushed a commit to branch master
in repository diffoscope.

commit 8befddf8a09d1b0d590ab3a10db5006228b66945
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Sep 9 21:59:23 2017 +0200

    fix pep8 E228
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 diffoscope/presenters/html/html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/html/html.py b/diffoscope/presenters/html/html.py
index 875f318..224fa97 100644
--- a/diffoscope/presenters/html/html.py
+++ b/diffoscope/presenters/html/html.py
@@ -121,7 +121,7 @@ def convert(s, ponct=0, tag=''):
 
         # special highlighted chars
         elif c == "\t" and ponct == 1:
-            n = TABSIZE-(i%TABSIZE)
+            n = TABSIZE-(i % TABSIZE)
             if n == 0:
                 n = TABSIZE
             t.write('<span class="diffponct">\xbb</span>'+'\xa0'*(n-1))

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


More information about the diffoscope mailing list