Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVarun Madiath <vamega@gmail.com>2020-10-19 22:07:34 -0400
committerVarun Madiath <vamega@gmail.com>2020-10-19 23:04:14 -0400
commite4f363ce7dbd6ec27a30123caf262c99452a0dd4 (patch)
treea233dcfccf736a9b9fc7eec840cc405d70436163 /examples
parentda59378cc45b1d04e0b26d058d451a9202903d1c (diff)
Fix typo in function parameter
`suppress_errors` was previously spelt `surpress_errors`
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
-rw-r--r--examples/minimal.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 68e90306..6de5d6f8 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -56,8 +56,8 @@ def perform_installation(device, boot_partition, language, mirrors):
installation.user_set_pw('root', root_pw)
# Unmount and close previous runs (in case the installer is restarted)
-archinstall.sys_command(f'umount -R /mnt', surpress_errors=True)
-archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', surpress_errors=True)
+archinstall.sys_command(f'umount -R /mnt', suppress_errors=True)
+archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', suppress_errors=True)
"""
First, we'll ask the user for a bunch of user input.
diff --git a/examples/minimal.py b/examples/minimal.py
index 8bb8ed44..664bad0d 100644
--- a/examples/minimal.py
+++ b/examples/minimal.py
@@ -1,8 +1,8 @@
import archinstall, getpass
# Unmount and close previous runs
-archinstall.sys_command(f'umount -R /mnt', surpress_errors=True)
-archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', surpress_errors=True)
+archinstall.sys_command(f'umount -R /mnt', suppress_errors=True)
+archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', suppress_errors=True)
# Select a harddrive and a disk password
harddrive = archinstall.select_disk(archinstall.all_disks())