Changeset 3867

Show
Ignore:
Timestamp:
12/25/08 20:05:21 (4 years ago)
Author:
gpolo
Message:

Fixing argument passing for the updated XMLStore.store method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/NetworkInventory/umitInventory/InventoryTree.py

    r3866 r3867  
    293293 
    294294            if not scan_state: # scan finished 
    295                 xmlstore = XMLStore(Path.umitdb_ng, inventory=inventory) 
     295                xmlstore = XMLStore(Path.umitdb_ng) 
    296296                try: 
    297                     xmlstore.store(scan.get_xml_output_file()) 
     297                    xmlstore.store(scan.get_xml_output_file(), 
     298                            inventory=inventory) 
    298299                except Exception: 
    299300                    # failed while adding scan to the database