diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-17 18:09:02 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 14:25:21 -0600 |
commit | 0ede00fdaf1d2162350631294f57645675737d89 (patch) | |
tree | 9798b1d33790a198d9704b88137d0a4631ac4099 /tools/buildman/func_test.py | |
parent | ce0dc2edfc51dba5134d50a49ac8a18667fb55b2 (diff) |
buildman: Move to absolute imports
At present buildman 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 buildman to use absolute imports. Also adjust moveconfig.py too since
it uses some buildman modules and cannot work without this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/func_test.py')
-rw-r--r-- | tools/buildman/func_test.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index 29b28f5a9f9..9bfdd536985 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -8,11 +8,12 @@ import sys import tempfile import unittest -import board -import bsettings -import cmdline +from buildman import board +from buildman import bsettings +from buildman import cmdline +from buildman import control +from buildman import toolchain import command -import control import gitutil import terminal import toolchain |