diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-17 12:27:48 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-25 11:10:06 +0100 |
commit | 57f790b0c56297af8c83d5def8461bd5d61fe4af (patch) | |
tree | 048e01a4f63400f90ece6db69d321a36597361a5 /lib/toaster/bldcontrol/models.py | |
parent | 51a41172d0b390370f9a38696b1ac65666ada4d2 (diff) | |
download | bitbake-57f790b0c56297af8c83d5def8461bd5d61fe4af.tar.gz |
toaster: fixes after replacing BuildRequest with Build
This is a set of fixes that repair the interface after
we switched from displaying BuildRequest data to Build data
in the formerly "managed" mode.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/bldcontrol/models.py')
-rw-r--r-- | lib/toaster/bldcontrol/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py index b789446fa..6f408660d 100644 --- a/lib/toaster/bldcontrol/models.py +++ b/lib/toaster/bldcontrol/models.py @@ -159,3 +159,6 @@ class BRError(models.Model): errtype = models.CharField(max_length=100) errmsg = models.TextField() traceback = models.TextField() + + def __str__(self): + return "%s (%s)" % (self.errmsg, self.req) |