diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-02-22 14:26:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-22 15:24:51 +0000 |
commit | d03235b2c2ef0a639810be591bd26ccbda544129 (patch) | |
tree | 9be8949a9bdf2e7b0a1f749adde2735d8a7abd54 /scripts/contrib | |
parent | 6c23bd5c8113c1a8feddf2171626cb02e421b71d (diff) | |
download | poky-d03235b2c2ef0a639810be591bd26ccbda544129.tar.gz |
icecc.bbclass: fix syntax error
'class' is already taken as keyword and python doesn't like this:
ERROR: Error in compiling python function in oe-core/meta/classes/icecc.bbclass, line 151:
The code lines resulting in this error were:
0020: check_pn = set([pn, bpn])
0021:
0022: class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split()
0023:
*** 0024: for class in class_disable:
0025: if bb.data.inherits_class(class, d):
0026: bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class))
0027: return "no"
0028:
SyntaxError: invalid syntax (icecc.bbclass, line 151)
(From OE-Core rev: 31be8f47502681d5621af032bca216c22f78fb84)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
0 files changed, 0 insertions, 0 deletions