admin: add layerbranch to BBAppend string representation

This makes it a little bit easier to see which BBAppend objects belong
to which layer.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-08-05 10:58:27 +12:00
parent 71ff6571c6
commit 4fe3eea540

View File

@ -773,7 +773,7 @@ class BBAppend(models.Model):
return False return False
def __str__(self): def __str__(self):
return os.path.join(self.filepath, self.filename) return '%s: %s' % (self.layerbranch, os.path.join(self.filepath, self.filename))
class BBClass(models.Model): class BBClass(models.Model):