From: Simon Glass <sjg@chromium.org>
Move the patman import after u_boot_pylib imports to satisfy pylint's
C0411 (wrong-import-order) check.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
tools/buildman/control.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
@@ -22,7 +22,6 @@ from buildman import toolchain
from buildman.builder import Builder
from buildman.outcome import DisplayOptions
from buildman.resulthandler import ResultHandler
-from patman import patchstream
import qconfig
from u_boot_pylib import command
from u_boot_pylib import gitutil
@@ -30,6 +29,8 @@ from u_boot_pylib import terminal
from u_boot_pylib import tools
from u_boot_pylib.terminal import print_clear, tprint
+from patman import patchstream
+
TEST_BUILDER = None
# Space-separated list of buildman process IDs currently running jobs
@@ -564,7 +565,8 @@ def run_builder(builder, commits, board_selected, display_options, args):
args.threads, args.jobs))
builder.set_display_options(
- display_options, args.filter_dtb_warnings, args.filter_migration_warnings)
+ display_options, args.filter_dtb_warnings,
+ args.filter_migration_warnings)
if args.summary:
builder.commits = commits
builder.result_handler.show_summary(