Add missing test on manifest for issue1682

(transplanted from c17b22e35231da58101ed631ce81563a5731ec67)
This commit is contained in:
Cédric Krier
2010-09-19 17:03:04 +02:00
parent a731feaecc
commit e2cbde75e4
+2 -1
View File
@@ -191,7 +191,8 @@ class Report(object):
if file.startswith('Pictures'):
picture = style2_z.read(file)
pictures.append((file, picture))
manifest.add_file_entry(file)
if manifest:
manifest.add_file_entry(file)
style2_z.close()
style2_io.close()
dom_style2 = xml.dom.minidom.parseString(style2_xml)