index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2022-01-07 11:54:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-07 10:54:29 +0000 |
commit | 93f9d159bd69fee03e0fa139296bc9aa52520c92 (patch) | |
tree | bf24e64408c6de6180c271d41e1c424042c195cc /archinstall/lib | |
parent | 1234261a7a0d3ffd20f0d4ebea0f54a30c493d45 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 3 | ||||
-rw-r--r-- | archinstall/lib/plugins.py | 3 | ||||
-rw-r--r-- | archinstall/lib/profiles.py | 3 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index b1570e16..6e4a6193 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -6,7 +6,8 @@ import shlex import pathlib import subprocess import glob -from typing import Union, Dict, Any, List, ModuleType, Optional, Iterator, Mapping +from types import ModuleType +from typing import Union, Dict, Any, List, Optional, Iterator, Mapping from .disk import get_partitions_in_use, Partition from .general import SysCommand, generate_password from .hardware import has_uefi, is_vm, cpu_vendor diff --git a/archinstall/lib/plugins.py b/archinstall/lib/plugins.py index e61c114e..7f920317 100644 --- a/archinstall/lib/plugins.py +++ b/archinstall/lib/plugins.py @@ -7,7 +7,8 @@ import pathlib import urllib.parse import urllib.request from importlib import metadata -from typing import ModuleType, Optional, List +from typing import Optional, List +from types import ModuleType from .output import log from .storage import storage diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 6b0e69bf..9befd3d5 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -9,7 +9,8 @@ import sys import urllib.error import urllib.parse import urllib.request -from typing import Optional, ModuleType, Dict, Union, TYPE_CHECKING +from typing import Optional, Dict, Union, TYPE_CHECKING +from types import ModuleType # https://stackoverflow.com/a/39757388/929999 if TYPE_CHECKING: from .installer import Installer |