Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-03-08 14:58:31 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-08 14:58:31 +0100
commit2fe8a173f487f7bed76a4745a8c957aca10f07f9 (patch)
treea1e96979a69635b436f9a0137db3c440cdad920a /examples/guided.py
parent30467ca50f289dc474d4cf906d05778c85d8d86d (diff)
Added some debugging.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 364e0a50..bfe8b4f3 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -94,7 +94,6 @@ if archinstall.arguments.get('harddrive', None):
archinstall.arguments['harddrive'] = archinstall.BlockDevice(archinstall.arguments['harddrive'])
else:
archinstall.arguments['harddrive'] = archinstall.select_disk(archinstall.all_disks())
-print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
# Perform a quick sanity check on the selected harddrive.
# 1. Check if it has partitions
@@ -168,6 +167,8 @@ if archinstall.arguments['harddrive'].has_partitions():
elif option == 'format-all':
archinstall.arguments['harddrive'].keep_partitions = False
+print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
+
# Get disk encryption password (or skip if blank)
if not archinstall.arguments.get('!encryption-password', None):
archinstall.arguments['!encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ')