]> git.baikalelectronics.ru Git - uboot.git/commit
patman: Avoid importing test_checkpatch before it is needed
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:07 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit28f50751f5c0765e70f604dc1b86ce7f114c2a8d
tree18d1bcb7e4aaab3d75ec88960e3fe08afcf47d92
parentee27845248562f5052c52e0ca908e577d03992a5
patman: Avoid importing test_checkpatch before it is needed

Tests are not packaged with patman so this file will not be accessible
when installing with pip. Move the import later in the file, when we
know the file is present.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/__main__.py