Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2022-05-29 15:31:18 +0800
committerGitHub <noreply@github.com>2022-05-29 09:31:18 +0200
commit2de153003ed5de1018639070fabc9c9e583c49d1 (patch)
tree3bf487686ba2aaa5d469af77ef18998efdcab941 /archinstall/__init__.py
parentb2f85889a7a935a4d9638fe0fec5aac45e721b09 (diff)
Fix typos (#1265)
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 7edeaa80..786be1c5 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -91,7 +91,7 @@ def parse_unspecified_argument_list(unknowns :list, multiple :bool = False, erro
--argument=value
--argument = value
--argument (boolean as default)
- the optional paramters to the function alter a bit its behaviour:
+ the optional parameters to the function alter a bit its behaviour:
* multiple allows multivalued arguments, each value separated by whitespace. They're returned as a list
* error. If set any non correctly specified argument-value pair to raise an exception. Else, simply notifies the existence of a problem and continues processing.
@@ -104,7 +104,7 @@ def parse_unspecified_argument_list(unknowns :list, multiple :bool = False, erro
key = None
last_key = None
while tmp_list:
- element = tmp_list.pop(0) # retreive an element of the list
+ element = tmp_list.pop(0) # retrieve an element of the list
if element.startswith('--'): # is an argument ?
if '=' in element: # uses the arg=value syntax ?
key, value = [x.strip() for x in element[2:].split('=', 1)]