Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-03-29 10:31:29 +0200
committerAnton Hvornum <anton@hvornum.se>2022-03-29 10:31:29 +0200
commitaf4b8a725129d74a7d1361d7dd91ff68154a95ac (patch)
tree3992449da35fb99de4debafa5b13af847d833898 /archinstall/lib/menu
parente0d723f9a0da28d09f58f51aa466feeff4f619a9 (diff)
Fixed flake8
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/global_menu.py1
-rw-r--r--archinstall/lib/menu/selection_menu.py33
2 files changed, 0 insertions, 34 deletions
diff --git a/archinstall/lib/menu/global_menu.py b/archinstall/lib/menu/global_menu.py
index 4274f7ee..1cd39553 100644
--- a/archinstall/lib/menu/global_menu.py
+++ b/archinstall/lib/menu/global_menu.py
@@ -257,7 +257,6 @@ class GlobalMenu(GeneralMenu):
if choice == 'no':
exit(1)
-
return harddrives
def _select_profile(self):
diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py
index 648e3817..18313360 100644
--- a/archinstall/lib/menu/selection_menu.py
+++ b/archinstall/lib/menu/selection_menu.py
@@ -7,40 +7,7 @@ from typing import Callable, Any, List, Iterator, Tuple, Optional, Dict, TYPE_CH
from .menu import Menu
from ..locale_helpers import set_keyboard_language
from ..output import log
-from ..storage import storage
from ..translation import Translation
-from ..general import (
- SysCommand,
- secret
-)
-from ..hardware import has_uefi
-from ..profiles import is_desktop_profile
-from ..disk.helpers import encrypted_partitions
-from ..user_interaction.system_conf import (
- select_harddrives,
- select_kernel,
- ask_for_bootloader,
- ask_for_swap
-)
-from ..user_interaction.general_conf import (
- ask_ntp,
- ask_for_a_timezone,
- select_additional_repositories,
- ask_additional_packages_to_install,
- ask_for_audio_selection,
- ask_hostname,
- select_mirror_regions,
- select_profile
-)
-from ..user_interaction.utils import get_password
-from ..user_interaction.network_conf import ask_to_configure_network
-from ..user_interaction.save_conf import save_config
-from ..user_interaction.disk_conf import select_disk_layout
-from ..user_interaction.partitioning_conf import select_encrypted_partitions
-from ..user_interaction.manage_users_conf import (
- ask_for_additional_users,
- ask_for_superuser_account
-)
if TYPE_CHECKING:
_: Any