aboutsummaryrefslogtreecommitdiffstats
path: root/README.qemu
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2019-05-05 06:24:27 +0100
committerArmin Kuster <akuster808@gmail.com>2019-05-17 21:55:07 -0700
commit7dbaaf8a823527a3523187327f5b0885fc682510 (patch)
tree43696f58a4b7b0bdfdc9c8e3b2ce0c4fff0675d8 /README.qemu
parent1d3696bd3b6d05b91c119ade79c40510d1426a56 (diff)
downloadopenembedded-core-contrib-7dbaaf8a823527a3523187327f5b0885fc682510.tar.gz
recipetool: fix unbound variable when fixed SRCREV can't be found
If attempting to find a fixed SRCREV fails because the directory doesn't exit, avoid failing with: Traceback (most recent call last): File "/home/vagrant/poky/scripts/recipetool", line 121, in <module> ret = main() File "/home/vagrant/poky/scripts/recipetool", line 110, in main ret = args.func(args) File "/home/vagrant/poky/scripts/lib/recipetool/create.py", line 707, in create_recipe srcrev = stdout.rstrip() UnboundLocalError: local variable 'stdout' referenced before assignment Fixes: 000480c42797 ("recipetool / devtool: set a fixed SRCREV by default when fetching from git") Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'README.qemu')
0 files changed, 0 insertions, 0 deletions