Mercurial > piecrust2
diff piecrust/baking/baker.py @ 721:234d0c7c02cf
bake: Add the timestamp of the page to each record entry.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 May 2016 20:15:30 -0700 |
parents | ab5c6a8ae90a |
children | 9a92e2804562 |
line wrap: on
line diff
--- a/piecrust/baking/baker.py Sat May 28 15:43:45 2016 -0700 +++ b/piecrust/baking/baker.py Sun May 29 20:15:30 2016 -0700 @@ -217,6 +217,7 @@ # than the last bake. record_entry = BakeRecordEntry(res['source_name'], res['path']) record_entry.config = res['config'] + record_entry.timestamp = res['timestamp'] if res['errors']: record_entry.errors += res['errors'] record.current.success = False