Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 13:40:47 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 13:40:47 +0100
commit53669d63c9e01c2ed6e47d718b6983442e57fb6d (patch)
tree884d8013bdc05518f3534cccb85af80084c71402 /archinstall.py
parent670afabf9f3d2a3fce43ceb4d134af89b42442ba (diff)
Removing interactive since it's redundant
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index 06c6aa63..c0018858 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -781,7 +781,7 @@ def guess_country(ip, *positionals, **kwargs):
log(f'Missing GeoIP database: {GEOIP_DB}', origin='guess_country', level=LOG_LEVELS.ERROR)
return result
-def setup_args_defaults(args, interactive=True):
+def setup_args_defaults(args, *positionals, **kwargs):
if not 'size' in args: args['size'] = '100%'
if not 'mirrors' in args: args['mirrors'] = True
if not 'start' in args: args['start'] = '513MiB'
@@ -1160,7 +1160,7 @@ if __name__ == '__main__':
## If no drive was found in args, select one.
if not 'drive' in args:
- if interactive and len(harddrives):
+ if len(harddrives):
drives = sorted(list(harddrives.keys()))
if len(drives) > 1 and 'force' not in args and ('default' in args and 'first-drive' not in args):
for index, drive in enumerate(drives):