cmds and lib: Don't print() log messages

print() should be used to output information requested by a certain
command, but not for logging the process to achieve it. log() should
be used for the latter. The current code has the distinction not down
clearly, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-25 11:38:29 +01:00
commit e589cdbdbf

View file

@ -187,7 +187,7 @@ class CmdBuild(Cmd): # export
await run_make_on_modules(modules, order, target) await run_make_on_modules(modules, order, target)
log(NOTICE, 'Build done at {}' % (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))) log(NOTICE, 'Build done at %s' % (datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
dep_cache: dict[dict[str, str]] = {} dep_cache: dict[dict[str, str]] = {}