# HG changeset patch # User Ludovic Chabant # Date 1432002589 25200 # Node ID c12ee6936b8c747972defd0902d3103fdec32242 # Parent a0724af26c124f10f7ae154b18c6a3fc4310d250 bake: Return all errors from a bake record entry when asked for it. diff -r a0724af26c12 -r c12ee6936b8c piecrust/baking/records.py --- a/piecrust/baking/records.py Mon May 18 19:29:16 2015 -0700 +++ b/piecrust/baking/records.py Mon May 18 19:29:49 2015 -0700 @@ -113,6 +113,7 @@ return self.subs[sub_index - 1] def getAllErrors(self): + yield from self.errors for o in self.subs: yield from o.errors