mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
format: clean up leftovers
This commit is contained in:
parent
7a324555da
commit
0c38fabf11
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,8 @@ import os
|
|||
from config import config
|
||||
from wrapper import enforce_wrap
|
||||
|
||||
from .base import get_base_chroot, Chroot, BaseChroot
|
||||
from .abstract import Chroot
|
||||
from .base import get_base_chroot
|
||||
from .build import get_build_chroot, BuildChroot
|
||||
#from .device import get_device_chroot, DeviceChroot
|
||||
from .helpers import get_chroot_path
|
||||
|
|
|
@ -221,7 +221,6 @@ class Chroot(AbstractChroot):
|
|||
if outer_env is None:
|
||||
outer_env = os.environ.copy()
|
||||
env_cmd = ['/usr/bin/env'] + [f'{shell_quote(key)}={shell_quote(value)}' for key, value in inner_env.items()]
|
||||
run_func = subprocess.call if attach_tty else subprocess.run
|
||||
kwargs: dict = {
|
||||
'env': outer_env,
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from typing import Union, Optional, TypedDict
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
from config import config
|
||||
from constants import Arch
|
||||
|
|
Loading…
Add table
Reference in a new issue