mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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:
parent
71ff6571c6
commit
4fe3eea540
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user