forked from Mirror/pmbootstrap
core: don't re-export get_context (MR 2252)
This makes testing a lot more annoying. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
42d9f4e3cd
commit
6087a9df8f
48 changed files with 86 additions and 55 deletions
|
@ -97,7 +97,7 @@ def init(args: PmbArgs) -> PmbArgs:
|
|||
context.force = getattr(args, "force", False)
|
||||
|
||||
# Initialize context
|
||||
pmb.core.set_context(context)
|
||||
pmb.core.context.set_context(context)
|
||||
|
||||
# Initialize logs (we could raise errors below)
|
||||
pmb.helpers.logging.init(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue