index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-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 |