From 32e426b57f2b32b5a6329107f4a8666a89ccfd06 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Sat, 2 May 2015 10:39:25 +0200 Subject: [PATCH] bug 8528: local variable 'body' referenced before assignment bug report and fix the day of the release... --- src/plugins/webreport/NarrativeWeb.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 5804b1995..35984b3b3 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -5064,14 +5064,14 @@ class DownloadPage(BasePage): else: tcell += " " - # clear line for proper styling - # create footer section - footer = self.write_footer() - body += (fullclear, footer) + # clear line for proper styling + # create footer section + footer = self.write_footer() + body += (fullclear, footer) - # send page out for processing - # and close the file - self.XHTMLWriter(downloadpage, of, sio) + # send page out for processing + # and close the file + self.XHTMLWriter(downloadpage, of, sio) class ContactPage(BasePage): def __init__(self, report, title):