]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
patman: Avoid using func_test at top level
authorSimon Glass <sjg@chromium.org>
Sat, 4 Nov 2023 16:25:23 +0000 (10:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Nov 2023 03:04:01 +0000 (20:04 -0700)
Import this only when it is needed, since it is not present when
installed via 'pip install'.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: https://source.denx.de/u-boot/u-boot/-/issues/26
tools/patman/__main__.py

index 3ca858cd315700a475fab7395e5d2ef9681e9891..d53f686a2d45dc2128c053f9c9e85638222e3427 100755 (executable)
@@ -24,7 +24,6 @@ sys.path.append(os.path.join(our_path, '..'))
 # Our modules
 from patman import cmdline
 from patman import control
-from patman import func_test
 from u_boot_pylib import terminal
 from u_boot_pylib import test_util
 from u_boot_pylib import tools