Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index f51fb4a4..8eaf753e 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -592,7 +592,7 @@ def wipe_and_create_partitions(block_device):
else:
partition_type = 'msdos'
- partitions_result = [part.__dump__() for part in block_device.partitions]
+ partitions_result = [part.__dump__() for part in block_device.partitions.values()]
suggested_layout = [
{ # Boot
"type" : "primary",
@@ -641,7 +641,7 @@ def wipe_and_create_partitions(block_device):
if len(partitions_result):
print('Current partition layout:')
for partition in partitions_result:
- print(partition)
+ print({key: val for key, val in partition.items() if val})
print()
task = generic_select(modes,