- with open(vat_name, 'r') as vat_file:
- for line in vat_file:
- VatHistory.add_to_vat_history(node, line.replace('\n', ''))
+ if history:
+ with open(vat_name, 'r') as vat_file:
+ for line in vat_file:
+ PapiHistory.add_to_papi_history(node,
+ line.replace('\n', ''),
+ papi=False)