diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-17 18:09:03 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 14:25:21 -0600 |
commit | 16287933a852bab2ac4985a770e08c9aa69d21b1 (patch) | |
tree | e907492e72c279b64ac971c916de8078a48e8157 /tools/binman/cbfs_util_test.py | |
parent | 0ede00fdaf1d2162350631294f57645675737d89 (diff) |
binman: Move to absolute imports
At present binman sets the python path on startup so that it can access
the libraries it needs. If we convert to use absolute imports this is not
necessary.
Move binman to use absolute imports. This enables removable of the path
adjusting in Entry also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/cbfs_util_test.py')
-rwxr-xr-x | tools/binman/cbfs_util_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/binman/cbfs_util_test.py b/tools/binman/cbfs_util_test.py index 4aa2494fee..a929612b19 100755 --- a/tools/binman/cbfs_util_test.py +++ b/tools/binman/cbfs_util_test.py @@ -16,9 +16,9 @@ import struct import tempfile import unittest -import cbfs_util -from cbfs_util import CbfsWriter -import elf +from binman import cbfs_util +from binman.cbfs_util import CbfsWriter +from binman import elf import test_util import tools |