Mercurial > piecrust2
comparison piecrust/baking/records.py @ 359:2cd2b5d07129
bake: Fix crash when handling bake errors.
Bring back global record entry errors for errors that occur independently of
baking sub-pages (and potentially before any sub-page was processed).
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 20 Apr 2015 23:56:35 -0700 |
parents | 938be93215cb |
children | c12ee6936b8c |
comparison
equal
deleted
inserted
replaced
358:15d81d250b48 | 359:2cd2b5d07129 |
---|---|
86 self.taxonomy_info = taxonomy_info | 86 self.taxonomy_info = taxonomy_info |
87 self.flags = self.FLAG_NONE | 87 self.flags = self.FLAG_NONE |
88 self.config = None | 88 self.config = None |
89 self.subs = [] | 89 self.subs = [] |
90 self.assets = [] | 90 self.assets = [] |
91 self.errors = [] | |
91 | 92 |
92 @property | 93 @property |
93 def path_mtime(self): | 94 def path_mtime(self): |
94 return os.path.getmtime(self.path) | 95 return os.path.getmtime(self.path) |
95 | 96 |