Lines Matching refs:format
104 print("Cfg location: {}".format(self.loc))
183 print("Name: {}\nuid: {}\ngiven uid: {}\ngid: ".format(i[0], i[1].uid, i[1].related_item.uid), end="")
193 print("Cfg location: {}".format(i[1].loc))
200 print("Cfg location: {}\n".format(i[1].loc), end="")
201 print("Name: {}\ncritical: {}\n".format(i[0], i[1].critical), end="")
202 print("Whitelist-allowed critical: {}\n".format(i[1].related_item.critical))
210 print("Error: {}is not a valid whilelist, it has not a wanted field name".format(process_path))
241 print("Error: some services do not match with critical whitelist({}).".format(critical_process_path), end="")
259 print("High-privilege process check skipped: file [{}] not exist".format(privilege_process_path))
264 print("Critical-reboot process check skipped: file [{}] not exist".format(critical_process_path))
299 Load the cfg file in JSON format
305 print("\nError: loading cfg file {} failed. Cfg file not in JSON format!\n".format(filename))
316 parse_cfg_file("{}/{}".format(cfg_dir, file))
326 print("Process field check skipped: file [{}] not exist".format(sys_cfg_folder))
331 print("Process field check skipped: file [{}] not exist".format(vendor_cfg_folder))