[diffoscope] 02/02: diffoscope.presenters.html: Use logging.py's lazy argument interpolation.

Chris Lamb chris at chris-lamb.co.uk
Wed Sep 20 17:34:18 CEST 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 6e42152bf9d1709bd29d8dfcf8b8e81a29a6a46b
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Sep 20 16:33:45 2017 +0100

    diffoscope.presenters.html: Use logging.py's lazy argument interpolation.
---
 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 efc68ec..adbf6af 100644
--- a/diffoscope/presenters/html/html.py
+++ b/diffoscope/presenters/html/html.py
@@ -644,7 +644,7 @@ class HTMLPresenter(Presenter):
                 stored = node
 
             for child in node.details:
-                logger.debug("scheduling future html output for: %s" % output_diff_path(path + [child]))
+                logger.debug("scheduling future html output for: %s", output_diff_path(path + [child]))
                 ancestors[child] = stored
 
             conts = continuations.setdefault(stored, [])

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


More information about the diffoscope mailing list