[diffoscope] 01/01: presenters/html: restore the previous more-detailed comment
Ximin Luo
infinity0 at debian.org
Wed Sep 20 17:17:45 CEST 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository diffoscope.
commit 21f931a9e3347793ccd073bfee859cc160f409da
Author: Ximin Luo <infinity0 at debian.org>
Date: Wed Sep 20 17:17:30 2017 +0200
presenters/html: restore the previous more-detailed comment
---
diffoscope/presenters/html/html.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/diffoscope/presenters/html/html.py b/diffoscope/presenters/html/html.py
index 175aad1..efc68ec 100644
--- a/diffoscope/presenters/html/html.py
+++ b/diffoscope/presenters/html/html.py
@@ -627,7 +627,8 @@ class HTMLPresenter(Presenter):
# no more holes, don't traverse any more nodes
raise StopIteration
else:
- # True = don't traverse any children either
+ # True = don't traverse this node's children, because they won't be output
+ # however there are holes in other pages, so don't break the loop just yet
return True
else:
# unconditionally write the root node regardless of limits
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list