diff options
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index fb62a55d71..8a9a21eeee 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -267,6 +267,9 @@ class Build(models.Model): | |||
267 | def toaster_exceptions(self): | 267 | def toaster_exceptions(self): |
268 | return self.logmessage_set.filter(level=LogMessage.EXCEPTION) | 268 | return self.logmessage_set.filter(level=LogMessage.EXCEPTION) |
269 | 269 | ||
270 | def __str__(self): | ||
271 | return "%d %s %s" % (self.id, self.project, ",".join([t.target for t in self.target_set.all()])) | ||
272 | |||
270 | 273 | ||
271 | # an Artifact is anything that results from a Build, and may be of interest to the user, and is not stored elsewhere | 274 | # an Artifact is anything that results from a Build, and may be of interest to the user, and is not stored elsewhere |
272 | class BuildArtifact(models.Model): | 275 | class BuildArtifact(models.Model): |