aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-08-25 15:57:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-27 12:12:04 +0100
commit9d31e1e6ce07991fe360e67295311e62a55603af (patch)
treec9da2a7c7d313791029a586d9548c6966356f40e /meta/classes/nativesdk.bbclass
parentc8afcb9cab9d610892db9c41b29685583f3b5773 (diff)
downloadopenembedded-core-contrib-9d31e1e6ce07991fe360e67295311e62a55603af.tar.gz
sanity: refactor mirrors checks to be more pythonic
- Use clearer variable names - Use variable unpacking to reference elements by name rather than index - Sacrifice a small amount of time (iterate over protocols twice per entry rather than once) for clarity: use readable generator expressions with any() rather than maintaining state. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
0 files changed, 0 insertions, 0 deletions