Move this assignment down to just above where it is needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
return 1
unittest.main()
- col = terminal.Color(terminal.COLOR_NEVER if args.nocolour
- else terminal.COLOR_IF_TERMINAL)
-
if args.scan_source:
do_scan_source(os.getcwd(), args.update)
return 0
toolchains = toolchain.Toolchains()
toolchains.GetSettings()
toolchains.Scan(verbose=False)
+
+ col = terminal.Color(terminal.COLOR_NEVER if args.nocolour
+ else terminal.COLOR_IF_TERMINAL)
progress = move_config(toolchains, args, db_queue, col)
db_queue.join()