update: fix confusing debug message on renaming bbappend

Print the full path here otherwise it looks like we renamed a file to a
directory.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-10-01 15:41:21 +13:00
parent a82ce59a52
commit 87594bdd92

View File

@ -550,7 +550,7 @@ def main():
elif oldtypename == 'bbappend':
results = layerappends.filter(filepath=oldfilepath).filter(filename=oldfilename)
if len(results):
logger.debug("Rename bbappend %s to %s" % (results[0], newfilepath))
logger.debug("Rename bbappend %s to %s" % (results[0], os.path.join(newfilepath, newfilename)))
results[0].filepath = newfilepath
results[0].filename = newfilename
results[0].save()