diff options
author | Christopher Larson <chris_larson@mentor.com> | 2017-03-21 11:41:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-22 11:35:23 +0000 |
commit | b079a2da3635f45479c55c3282b51a654fdea9af (patch) | |
tree | 9e27a0eac7b78c9156d6fe552affcdfde6a3fe2b /scripts/lib/wic/plugins/source/bootimg-partition.py | |
parent | 9a6f6366799ac53168f3398cb5c8d33f0da4f870 (diff) | |
download | poky-b079a2da3635f45479c55c3282b51a654fdea9af.tar.gz |
bitbake: fetch/git: use enumerate for ud.names
list.index() isn't a particularly efficient operation, so keep track of our
position via enumerate() instead, which is more pythonic as well.
(Bitbake rev: dec6e90a4d27ee335e9c78aeebd277098fec94d1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-partition.py')
0 files changed, 0 insertions, 0 deletions