__author__ = 'zeno' from AVCommon import command from AVCommon.logger import logging def execute(vm, protocol, args): # counts the end, when it's equal to init, finish from AVMaster import report logging.debug(" CS REPORT_END: %s,%s" % (vm, args)) #assert "report" in command.context.keys() #assert vm in command.context["report"] #command.context["report"].remove(vm) #if not command.context["report"]: # logging.info("report end: %s" % vm) protocol.error = False report.end(vm) #if not command.context["report"]: # report.finish() return True, vm .