mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
helpers: logging: get rid of context and args (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
29eb4e950e
commit
25e41ff3f7
2 changed files with 20 additions and 22 deletions
|
@ -94,7 +94,7 @@ def init(args: PmbArgs) -> PmbArgs:
|
|||
pmb.core.context.set_context(context)
|
||||
|
||||
# Initialize logs (we could raise errors below)
|
||||
pmb.helpers.logging.init(args)
|
||||
pmb.helpers.logging.init(context.log, args.verbose, context.details_to_stdout)
|
||||
|
||||
# Initialization code which may raise errors
|
||||
if args.action not in ["init", "checksum", "config", "bootimg_analyze", "log",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue