- def add_to_papi_history(node, cmd, papi=True, **kwargs):
+ def add_to_papi_history(node, csit_papi_command, papi=True, **kwargs):
:param papi: Says if the command to store is PAPi or VAT. Remove when
VAT executor is completely removed.
:param kwargs: Optional key-value arguments.
:type node: dict
:param papi: Says if the command to store is PAPi or VAT. Remove when
VAT executor is completely removed.
:param kwargs: Optional key-value arguments.
:type node: dict
args = list()
for key, val in kwargs.iteritems():
args.append("{key}={val}".format(key=key, val=val))
args = list()
for key, val in kwargs.iteritems():
args.append("{key}={val}".format(key=key, val=val))
else:
# This else part is here to store VAT commands.
# VAT history is not used.
# TODO: Remove when VatExecutor is completely removed.
else:
# This else part is here to store VAT commands.
# VAT history is not used.
# TODO: Remove when VatExecutor is completely removed.