diff options
| author | Ross Burton <ross@burtonini.com> | 2022-03-25 12:29:10 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-26 09:33:32 +0000 |
| commit | 596fcd883f7340a06d083597abf5d1873c695b7c (patch) | |
| tree | 0d593802629b9578a32da84772ed167c8adcb33a /meta/recipes-devtools/python/python3/crosspythonpath.patch | |
| parent | 02b01be41f06ee87caec8fec2f1c69423caab70c (diff) | |
| download | poky-596fcd883f7340a06d083597abf5d1873c695b7c.tar.gz | |
oeqa/runtime/context: remove duplicate sys.path entries when looking for modules
sys.path can contain duplicate entries for each layer, which means that
the search in add_controller_list() will find the same name twice and
abort.
As duplicate directories should be harmless, remove any duplicates before
iterating through the entries.
(From OE-Core rev: e478381ac1cccc5f882198fd11c8757db7e3741a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3/crosspythonpath.patch')
0 files changed, 0 insertions, 0 deletions
