comparison piecrust/commands/builtin/baking.py @ 193:c2acf5f31936

showrecord: Show relative paths.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 11 Jan 2015 23:03:45 -0800
parents 4c0ab0b044fe
children 5d8351cb32d8
comparison
equal deleted inserted replaced
192:4c0ab0b044fe 193:c2acf5f31936
137 entry.rel_path)) 137 entry.rel_path))
138 logging.info(" taxonomy: %s:%s" % (entry.taxonomy_name, 138 logging.info(" taxonomy: %s:%s" % (entry.taxonomy_name,
139 entry.taxonomy_term)) 139 entry.taxonomy_term))
140 logging.info(" config: %s" % entry.config) 140 logging.info(" config: %s" % entry.config)
141 logging.info(" out URLs: %s" % entry.out_uris) 141 logging.info(" out URLs: %s" % entry.out_uris)
142 logging.info(" out paths: %s" % entry.out_paths) 142 logging.info(" out paths: %s" % [os.path.relpath(p, out_dir)
143 for p in entry.out_paths])
143 logging.info(" used srcs: %s" % entry.used_source_names) 144 logging.info(" used srcs: %s" % entry.used_source_names)
144 if entry.errors: 145 if entry.errors:
145 logging.error(" errors: %s" % entry.errors) 146 logging.error(" errors: %s" % entry.errors)
146 147