forked from Mirror/pmbootstrap
pmb.qemu.run: Remove FIXME and type ignore stuff from command_qemu() (MR 2522)
This was probably fixed by 225d8b30a0
as
it added an Env type hint to the env variable. Either way, the mypy
check passes evenn with this removed now.
This commit is contained in:
parent
a84b3eb4d2
commit
78cddc90f1
1 changed files with 3 additions and 4 deletions
|
@ -164,13 +164,12 @@ def command_qemu(
|
|||
|
||||
if "gtk" in args.qemu_display:
|
||||
gdk_cache = create_gdk_loader_cache(args)
|
||||
# FIXME: why does mypy think the values here should all be paths??
|
||||
env.update(
|
||||
{
|
||||
"GTK_THEME": "Default", # type: ignore[dict-item]
|
||||
"GDK_PIXBUF_MODULE_FILE": str(gdk_cache), # type: ignore[dict-item]
|
||||
"GTK_THEME": "Default",
|
||||
"GDK_PIXBUF_MODULE_FILE": str(gdk_cache),
|
||||
"XDG_DATA_DIRS": ":".join(
|
||||
[ # type: ignore[dict-item]
|
||||
[
|
||||
str(chroot_native / "usr/local/share"),
|
||||
str(chroot_native / "usr/share"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue