changeset 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
files piecrust/commands/builtin/baking.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/commands/builtin/baking.py	Sun Jan 11 23:03:12 2015 -0800
+++ b/piecrust/commands/builtin/baking.py	Sun Jan 11 23:03:45 2015 -0800
@@ -139,7 +139,8 @@
                                                   entry.taxonomy_term))
             logging.info("   config:    %s" % entry.config)
             logging.info("   out URLs:  %s" % entry.out_uris)
-            logging.info("   out paths: %s" % entry.out_paths)
+            logging.info("   out paths: %s" % [os.path.relpath(p, out_dir)
+                                               for p in entry.out_paths])
             logging.info("   used srcs: %s" % entry.used_source_names)
             if entry.errors:
                 logging.error("   errors: %s" % entry.errors)