From: Brian Warner <warner@lothar.com>
Date: Fri, 13 Feb 2009 16:57:53 +0000 (-0700)
Subject: figleaf_htmlizer: fix order of summary counters
X-Git-Tag: allmydata-tahoe-1.3.0~6
X-Git-Url: https://git.rkrishnan.org/%5B/flags/%3C?a=commitdiff_plain;h=4aee51ff6f34bc13251996a9d2ac050e91d0e2d9;p=tahoe-lafs%2Ftahoe-lafs.git

figleaf_htmlizer: fix order of summary counters
---

diff --git a/src/allmydata/util/figleaf_htmlizer.py b/src/allmydata/util/figleaf_htmlizer.py
index f12538d7..0286ff5b 100644
--- a/src/allmydata/util/figleaf_htmlizer.py
+++ b/src/allmydata/util/figleaf_htmlizer.py
@@ -272,8 +272,9 @@ class Renderer:
                            '<th># uncovered</th>'
                            '<th>% covered</th></tr>\n')
         if show_totals:
-            (summary_lines, summary_cover, summary_pcnt,
-             summary_added, summary_removed) = self.summary
+            (summary_lines, summary_cover,
+             summary_added, summary_removed,
+             summary_pcnt) = self.summary
             if have_old_coverage:
                 index_fp.write('<tr><td><b>totals:</b></td>'
                                '<td><b>%d</b></td>' # lines