Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 13:02:19 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 13:02:19 -0400
commit8d39ff4a765de170ccb7286c0bb94af4bc20794e (patch)
treeaea514d9912a1207c7cb179e859d29cdc470745d
parent254706d57d886b2ab8f5de15aa62c009fd8ab984 (diff)
Minor whitespace changes to guided.py
-rw-r--r--examples/guided.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 76741708..85cd7444 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -39,10 +39,10 @@ def ask_user_questions():
archinstall.arguments['mirror-region'] = archinstall.select_mirror_regions(archinstall.list_mirrors())
break
except archinstall.RequirementError as e:
- archinstall.log(e, fg="red")
+ archinstall.log(e, fg="red")
else:
selected_region = archinstall.arguments['mirror-region']
- archinstall.arguments['mirror-region'] = {selected_region : archinstall.list_mirrors()[selected_region]}
+ archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[selected_region]}
# Ask which harddrive/block-device we will install to
if archinstall.arguments.get('harddrive', None):
@@ -219,7 +219,7 @@ def ask_user_questions():
break
except archinstall.RequirementError as e:
archinstall.log(e, fg='red')
- archinstall.arguments['packages'] = None # Clear the packages to trigger a new input question
+ archinstall.arguments['packages'] = None # Clear the packages to trigger a new input question
else:
# no additional packages were selected, which we'll allow
break
@@ -389,5 +389,6 @@ def perform_installation(mountpoint):
# For support reasons, we'll log the disk layout post installation (crash or no crash)
archinstall.log(f"Disk states after installing: {archinstall.disk_layouts()}", level=archinstall.LogLevels.Debug)
+
ask_user_questions()
perform_installation_steps()