Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-02-17 12:15:48 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-02-17 12:15:48 +0100
commit3a8a25982a273081cd845723a2d794438e960a13 (patch)
treeea8d71a6bd26235902aab98838816b2001b9e05b
parentb5c862549a7b52c8eb53227db1a97e1a6114c040 (diff)
Forgot relative path for exceptions.
-rw-r--r--examples/guided.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 7798ca08..0efc438c 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -131,14 +131,14 @@ if archinstall.arguments['harddrive'].has_partitions():
new_filesystem = input(f"Enter a valid filesystem for {partition} (leave blank for {partition.filesystem}): ").strip(' ')
if len(new_filesystem) <= 0:
break
-
+
try:
partition.format(new_filesystem, path='/dev/null', log_formating=False, allow_formatting=True)
- except UnknownFilesystemFormat:
+ except archinstall.UnknownFilesystemFormat:
archinstall.log(f"Selected filesystem is not supported yet, if you wish archinstall should support '{new_filesystem}' please create a issue-ticket suggesting it on github at https://github.com/Torxed/archinstall/issues.")
archinstall.log(f"Until then, please enter another supported filesystem.")
continue
- except SysCallError:
+ except archinstall.SysCallError:
pass # Supported, but mkfs could not format /dev/null which is the whole point of /dev/null in path :)
break