[diffoscope] 03/03: Comment on global html_output flag.
Maria Glukhova
siamezzze-guest at moszumanska.debian.org
Mon Apr 24 08:18:42 CEST 2017
This is an automated email from the git hooks/post-receive script.
siamezzze-guest pushed a commit to branch siamezzze/image-visual-comparison
in repository diffoscope.
commit 44f6ae9e37bc1b4a672575c7b5e0d6b972e75e29
Author: Maria Glukhova <siamezzze at gmail.com>
Date: Sun Apr 23 19:42:18 2017 +0300
Comment on global html_output flag.
---
diffoscope/main.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/diffoscope/main.py b/diffoscope/main.py
index 186bfb0..0eb47eb 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -285,6 +285,8 @@ def run_diffoscope(parsed_args):
Config().fuzzy_threshold = parsed_args.fuzzy_threshold
Config().new_file = parsed_args.new_file
Config().excludes = parsed_args.excludes
+ # Store information about whether we are going to output html,
+ # so we don't waste time computing things we aren't going to use.
Config().html_output = any((parsed_args.html_output,
parsed_args.html_output_directory))
set_path()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list