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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 5804b19953a..35984b3b312 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -5064,14 +5064,14 @@ def __init__(self, report, title): else: tcell += " " - # 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) + # 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) class ContactPage(BasePage): def __init__(self, report, title):