Example #1
0
 def log_except(self, result_line):
     result_format = "[x] {} \n".format(result_line)
     Xcache.add_module_result(self.host_ipaddress, self.loadpath,
                              result_format)
Example #2
0
 def log_raw(self, result_line):
     if not result_line.endswith('\n'):
         result_line = "{}\n".format(result_line)
     Xcache.add_module_result(self.host_ipaddress, self.loadpath,
                              result_line)