summaryrefslogtreecommitdiffstats
path: root/meta/classes/metadata_scm.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-12 11:44:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-13 10:12:53 +0100
commit965fd3cf9a4aa448bae2c4984667dafb192808ea (patch)
tree01eaae888b5db2a3e4f4e657f2614d520e81cb0a /meta/classes/metadata_scm.bbclass
parent6d85874180dc51005ee74a15465e907fddd9fac2 (diff)
downloadpoky-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/metadata_scm.bbclass')
0 files changed, 0 insertions, 0 deletions