Skip to content
Commit 8e4107f9 authored by Jordan Yates's avatar Jordan Yates Committed by Marti Bolivar
Browse files

scripts: ensure intended path for edtlib imports



When updating `sys.path` to allow importing the pickled edtlib instance,
add the path to the front of `sys.path`, not the end. This ensures that
the `devicetree.edtlib` module that is imported is the one relative
to the files being run, not some other version which may exist on the
path.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent bc35b134
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment