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:
Caleb Connolly 2024-06-13 03:34:46 +02:00 committed by Oliver Smith
parent 42d9f4e3cd
commit 6087a9df8f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
48 changed files with 86 additions and 55 deletions

View file

@ -38,7 +38,8 @@ import pmb.netboot
import pmb.parse
import pmb.qemu
import pmb.sideload
from pmb.core import ChrootType, Chroot, get_context
from pmb.core import ChrootType, Chroot
from pmb.core.context import get_context
def _parse_flavor(device: str, autoinstall=True):