Lines Matching refs:format
109 log_info("TIMEOUT:{}".format(TIMEOUT))
110 log_info("select_timeout:{}".format(select_timeout))
111 log_info("top_count:{}".format(top_count))
112 log_info("overflow:{} sec".format(overflow))
114 log_error("config file:build_example.json has error:{}".format(e))
115 raise FileNotFoundError("config file:build_example.json has error:{}".format(e))
165 self.base_html = self.html_tamplate.format(self.report_title)
177 html_content = '<center><h1>{}</h1><div style="text-align:left;">{}<div></center>'.format(table_title,
179 error_html = '<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Ohos Error</title></head><body>{}</body></html>'.format(
230 """.format(table_title, int(100 / len(data_rows[0])))
235 self.table_html += "<th>{}</th>".format(header.capitalize())
248 self.table_html += "<td>{}</td>".format(data)
257 self.table_html += "<td>{}</td>".format(data)
274 log_error("open ninjia trace file error is:{}".format(e))
349 self.system_info.append(["Disk Size", "{} GB".format(total_disk)])
355 self.system_info.append(["Total Memory", "{} GB".format(total_memory)])
383 log_info("exec cmd is :{}".format(" ".join(execute_cmd)))
384 log_info("ptyflag is :{}".format(self.ptyflag))
413 out_str = "{}".format(time.time_ns()) + "[timestamp]" + line
423 log_error("Producer An error occurred:{}".format(e))
448 out_str = "{}".format(time.time_ns()) + "[timestamp]" + output
457 log_error("Producer An error occurred:{}".format(e))
531 log_error("Consumer An error occurred:{}".format(e))