index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-02-17 12:15:48 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-02-17 12:15:48 +0100 |
commit | 3a8a25982a273081cd845723a2d794438e960a13 (patch) | |
tree | ea8d71a6bd26235902aab98838816b2001b9e05b | |
parent | b5c862549a7b52c8eb53227db1a97e1a6114c040 (diff) |
-rw-r--r-- | examples/guided.py | 6 |
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 |