mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
import_layers: fix output when importing layers from scratch
Fixes "Importing None" message since we had not yet initialised the layerbranch variable. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
cb4bd5e45b
commit
b46de0bfa7
|
@ -329,10 +329,10 @@ def main():
|
|||
continue
|
||||
logger.info('Updating %s (%d/%d)' % (layerbranch, i+1, layercount))
|
||||
else:
|
||||
logger.info('Importing %s (%d/%d)' % (layerbranch, i+1, layercount))
|
||||
layerbranch = LayerBranch()
|
||||
layerbranch.branch = branch
|
||||
layerbranch.layer = layer
|
||||
logger.info('Importing %s (%d/%d)' % (layerbranch, i+1, layercount))
|
||||
|
||||
|
||||
for key, value in layerbranchjs.items():
|
||||
|
|
Loading…
Reference in New Issue
Block a user