[diffoscope] 04/08: squash with templates

Chris Lamb chris at chris-lamb.co.uk
Sun Jan 1 12:48:29 CET 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit e8bfbeaf86ee1cf5ef380d079c302d67d8cbc36e
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jan 1 11:43:19 2017 +0000

    squash with templates
---
 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 0fc9540..df3e0ab 100644
--- a/diffoscope/presenters/html/html.py
+++ b/diffoscope/presenters/html/html.py
@@ -621,5 +621,5 @@ def output_html_directory(directory, difference, css_url=None, jquery_url=None):
             print_func(u'<div class="error">Max output size reached.</div>',
                        force=True)
         if jquery_url:
-            print_func(SCRIPTS % {'jquery_url': html.escape(jquery_url)}, force=True)
+            print_func(template.SCRIPTS % {'jquery_url': html.escape(jquery_url)}, force=True)
         output_footer(print_func)

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


More information about the diffoscope mailing list