BUG Fixed 460 and 469 resolved --- a/umit/gui/MainWindow.py +++ b/umit/gui/MainWindow.py @@ -596,14 +596,14 @@ class MainWindow(UmitMainWindow):
xml_scanfile = mktemp()
f = open(xml_scanfile, "w")
- current_page.parsed.write_xml(f)
+ current_page.get_parser().write_xml(f)
f.close()
log.debug("Adding scan to inventory database..")
xmlstore = XMLStore(Path.umitdb_ng, False)
try:
- xmlstore.store(xml_scanfile, current_page.parsed,
inventory_title)
+ xmlstore.store(xml_scanfile, current_page.get_parser(),
inventory_title)
finally:
# close connection to the inventory's database
xmlstore.close()
@@ -1315,7 +1315,7 @@ Start a scan an then try again'))
log.info('Exporting ..')
import umit.export.html.Parse
- a = umit.export.html.Parse.ExportHTML(saving_page.parsed, \
+ a = umit.export.html.Parse.ExportHTML(saving_page.get_parser(), \
filename)
a.generate_html()
a.save()
patch469_460.patch
Description: Binary data
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ Umit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/umit-devel
