diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-12 11:44:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-13 10:12:53 +0100 |
commit | 965fd3cf9a4aa448bae2c4984667dafb192808ea (patch) | |
tree | 01eaae888b5db2a3e4f4e657f2614d520e81cb0a /meta/classes/gobject-introspection-data.bbclass | |
parent | 6d85874180dc51005ee74a15465e907fddd9fac2 (diff) | |
download | poky-965fd3cf9a4aa448bae2c4984667dafb192808ea.tar.gz |
image.bbclass: use max() instead of indexing booleans
There's some code dotted around OE that uses (a, b)[foo < bar] instead of the
more idiomatic "test and a or b". Or in this case, just max().
(From OE-Core rev: 7ee49f8a41b4b5c48fd283ac2768564c7ebb5332)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gobject-introspection-data.bbclass')
0 files changed, 0 insertions, 0 deletions