bug 8528: local variable 'body' referenced before assignment

bug report and fix the day of the release...
This commit is contained in:
Serge Noiraud
2015-05-02 10:39:25 +02:00
committed by Jérôme Rapinat
parent 58d30e6ded
commit 0975d5e528

View File

@@ -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):