Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/general.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/lib/general.py
parentb2f85889a7a935a4d9638fe0fec5aac45e721b09 (diff)
Fix typos (#1265)
Diffstat (limited to 'archinstall/lib/general.py')
-rw-r--r--archinstall/lib/general.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index b99e4a45..3ec1d685 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -207,7 +207,7 @@ class SysCommandWorker:
self.cmd = cmd
self.callbacks = callbacks
self.peak_output = peak_output
- # define the standard locale for command outputs. For now the C ascii one. Can be overriden
+ # define the standard locale for command outputs. For now the C ascii one. Can be overridden
self.environment_vars = {**storage.get('CMD_LOCALE',{}),**environment_vars}
self.logfile = logfile
self.working_directory = working_directory
@@ -354,7 +354,7 @@ class SysCommandWorker:
# Note: If for any reason, we get a Python exception between here
# and until os.close(), the traceback will get locked inside
# stdout of the child_fd object. `os.read(self.child_fd, 8192)` is the
- # only way to get the traceback without loosing it.
+ # only way to get the traceback without losing it.
self.pid, self.child_fd = pty.fork()
@@ -547,7 +547,7 @@ def json_stream_to_structure(configuration_identifier : str, stream :str, target
parsed_url = urllib.parse.urlparse(stream)
- if parsed_url.scheme: # The stream is in fact a URL that should be grabed
+ if parsed_url.scheme: # The stream is in fact a URL that should be grabbed
with urllib.request.urlopen(urllib.request.Request(stream, headers={'User-Agent': 'ArchInstall'})) as response:
target.update(json.loads(response.read()))
else: