summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-05-30 17:17:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 17:23:31 +0100
commitf0809ed7886f41969e1eaa5b9ec831882dd11fd3 (patch)
tree67d9722b04750f4818105697580f45ee112acd3f /bitbake/lib/bb/fetch2/__init__.py
parent64f88bf5d977f5aedf4fda672bba4aa165a72763 (diff)
downloadpoky-f0809ed7886f41969e1eaa5b9ec831882dd11fd3.tar.gz
cooker: fix UnboundLocalError when exception occurs during parsing
Fix a recent regression where we see the following additional error after an error occurs during parsing: ERROR: Command execution failed: Traceback (most recent call last): File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand self.cooker.updateCache() File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache if not self.parser.parse_next(): File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1672, in parse_next self.virtuals += len(result) UnboundLocalError: local variable 'result' referenced before assignment (Bitbake rev: 1ae0181ba49ccfcb2d889de5dd1d8912b9e49157) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
0 files changed, 0 insertions, 0 deletions