update.py: fix subdirectory does not exist error message

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-12-26 23:15:04 +00:00
parent a51515341d
commit 5ce6448a12

View File

@ -315,7 +315,7 @@ def main():
if not os.path.exists(layerdir): if not os.path.exists(layerdir):
if options.branch == 'master': if options.branch == 'master':
logger.error("Subdirectory for layer %s does not exist on branch %s!" % branchdesc) logger.error("Subdirectory for layer %s does not exist on branch %s!" % (layer.name, branchdesc))
transaction.rollback() transaction.rollback()
continue continue
else: else: