From e4f363ce7dbd6ec27a30123caf262c99452a0dd4 Mon Sep 17 00:00:00 2001 From: Varun Madiath Date: Mon, 19 Oct 2020 22:07:34 -0400 Subject: Fix typo in function parameter `suppress_errors` was previously spelt `surpress_errors` --- examples/guided.py | 4 ++-- examples/minimal.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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()) -- cgit v1.2.3-70-g09d2