[Reproducible-commits] [debbindiff] 05/10: Log progress while producing HTML output
Jérémy Bobbio
lunar at moszumanska.debian.org
Mon Sep 29 22:35:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit f1e2dd7a3e0d6878f5788bbe1245410e3f9c462a
Author: Jérémy Bobbio <lunar at debian.org>
Date: Mon Sep 29 23:59:07 2014 +0200
Log progress while producing HTML output
---
debbindiff/presenters/html.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debbindiff/presenters/html.py b/debbindiff/presenters/html.py
index 508ca2c..35ae73a 100644
--- a/debbindiff/presenters/html.py
+++ b/debbindiff/presenters/html.py
@@ -22,6 +22,7 @@ import difflib
import os.path
import sys
from xml.sax.saxutils import escape
+from debbindiff import logger
HEADER = """
<!DOCTYPE html>
@@ -82,6 +83,7 @@ def create_limited_print_func(print_func):
return limited_print_func
def output_difference(difference, print_func):
+ logger.debug('html output for %s' % (difference.source1,))
if not hasattr(output_difference, 'htmldiff'):
output_difference.htmldiff = difflib.HtmlDiff(wrapcolumn=70)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list