summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-26 17:23:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-27 22:51:20 +0100
commitdcbbe545bf5dbd34c8e2f934a33e59e5d38843cc (patch)
tree50e9ab9e53158c3bcd9af3737e0d382c05d61b6a /scripts
parent43c6e8c0dd7a7139b476b94d69a0252c639393bf (diff)
downloadpoky-dcbbe545bf5dbd34c8e2f934a33e59e5d38843cc.tar.gz
bitbake: codeparser: Allow empty functions
The main parser and other code copes with empty python functions but the python codeparser does not. Fix this to avoid errors with code like: python do_build () { } which currently results in the obtuse: "Failure expanding variable do_build: IndexError: string index out of range" [YOCTO #7829] (Bitbake rev: e4f594c670189e04d58ce7d160fc1d86123620af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions