Exemplo n.º 1
0
 def store_log(self, result_format):
     """API:存储结果到数据库"""
     result_format = result_format.strip()
     Xcache.set_module_result(self.host_ipaddress, self.loadpath,
                              result_format)
Exemplo n.º 2
0
 def clean_log(self):
     flag = Xcache.set_module_result(self.host_ipaddress, self.loadpath, "")
     return flag