comparison piecrust/baking/records.py @ 400:c12ee6936b8c

bake: Return all errors from a bake record entry when asked for it.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 18 May 2015 19:29:49 -0700
parents 2cd2b5d07129
children e7b865f8f335
comparison
equal deleted inserted replaced
399:a0724af26c12 400:c12ee6936b8c
111 111
112 def getSub(self, sub_index): 112 def getSub(self, sub_index):
113 return self.subs[sub_index - 1] 113 return self.subs[sub_index - 1]
114 114
115 def getAllErrors(self): 115 def getAllErrors(self):
116 yield from self.errors
116 for o in self.subs: 117 for o in self.subs:
117 yield from o.errors 118 yield from o.errors
118 119
119 def getAllUsedSourceNames(self): 120 def getAllUsedSourceNames(self):
120 res = set() 121 res = set()