[Reproducible-commits] [debbindiff] 04/09: Properly propagate exception with size limit was hit for HTML

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Sep 30 15:10:10 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 9e99276c59058cb73dd79d5f86a03f7268742553
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue Sep 30 10:29:22 2014 +0200

    Properly propagate exception with size limit was hit for HTML
---
 debbindiff/presenters/html.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debbindiff/presenters/html.py b/debbindiff/presenters/html.py
index 6d846b6..2766c68 100644
--- a/debbindiff/presenters/html.py
+++ b/debbindiff/presenters/html.py
@@ -110,7 +110,9 @@ def output_difference(difference, print_func):
             output_difference(detail, print_func)
     except PrintLimitReached, e:
         logger.debug('print limit reached')
-    print_func("</div>", force=True)
+        raise
+    finally:
+        print_func("</div>", force=True)
 
 def output_html(differences, print_func=None):
     if print_func is None:

-- 
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