Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 17:17:58 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-18 17:17:58 +0100
commit997baca5fcc39a12e56d01bffb6ac6e970e8d855 (patch)
tree3e774a8a145befee740d272337869843b54ae490
parent27059f4f803c1eeefce54308a271e69092bea8ab (diff)
Added args, kwargs to a function
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 311cc420..b34632f0 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -587,7 +587,7 @@ def close_disks():
o = simple_command('/usr/bin/umount -R /mnt')
o = simple_command('/usr/bin/cryptsetup close /dev/mapper/luksdev')
-def format_disk(drive=None, start='512MiB', end='100%', emulate=False):
+def format_disk(drive=None, start='512MiB', end='100%', emulate=False, *args, **kwargs):
if not drive:
raise ValueError('Need to supply a drive path, for instance: /dev/sdx')
print(f'[N] Setting up {drive}.')