Lines Matching refs:format
36 logging.info("already stashed {}: {}".format(SHA1, blocks))
44 assert self.stash_map.has_key(SHA1), "stash {} not found".format(SHA1)
69 return "{} bytes".format(size)
72 return "{:.1f}{}".format(size / base, units)
78 logging.info("\nSimulating commands in '{}':".format(name))
81 "4 lines, it has {}".format(name, len(lines))
83 logging.info("(version: {})".format(lines[0]))
92 assert len(cmd_list) == 2, "command format error: {}".format(line)
98 assert len(cmd_list) >= 5, "command format error: {}".format(line)
110 assert len(cmd_list) >= 8, "command format error: {}".format(line)
120 assert len(cmd_list) == 3, "command format error: {}".format(line)
125 assert len(cmd_list) == 2, "command format error: {}".format(line)
135 logging.info("blocks written: {} (expected: {})".format(
138 format(my_stash.max_stash_needed, lines[3]))
139 logging.info("total blocks stashed: {}".format(my_stash.blocks_stashed))
140 logging.info("blocks stashed implicitly: {}".format(
144 logging.info("\nReading data info for {} partition:".format(partition))
147 logging.info("{:<40}{:<40}".format(new_data.filename, patch_data.filename))
148 logging.info("{:<40}{:<40}".format(
151 logging.info("{:<40}{:<40}".format(
156 logging.info("{:<40}{:<40}".format(
181 logging.info("device: {}".format(metadata_info["pre-device"]))
183 logging.info("pre-build: {}".format(metadata_info["pre-build"]))
185 logging.info("post-build: {}".format(metadata_info["post-build"]))
215 logging.basicConfig(level=logging.INFO, format=logging_format)