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@hvornum.se>2021-02-07 15:34:11 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 15:34:11 +0100
commitacf39296efd905e6b2a495468555c6b8a8976cbc (patch)
treebe8797f142574dcb7ae2ace02425592cadb5ded7 /examples/guided.py
parent1253982c30c5d2454f8e1b285e586a6f48929e3c (diff)
Added a check in guided to make it more visible that we check for filesystem supportation.
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 4f7da99f..384c4e17 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -104,7 +104,8 @@ if harddrive.has_partitions():
archinstall.log('Using existing partition table:')
for partition in harddrive:
- archinstall.log(f" {partition}")
+ if partition.filesystem_supported():
+ archinstall.log(f" {partition}")
else:
print('Formatting woop woop!')
exit(1)