From 71a6c84df050ae282f5bf8fc689b6c5c414f61ad Mon Sep 17 00:00:00 2001 From: DrakeCoding <106654150+DrakeCoding@users.noreply.github.com> Date: Fri, 31 Jan 2025 03:24:51 +0000 Subject: [PATCH] Fixed grammar under function "get_arguments" (#3152) --- archinstall/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/__init__.py b/archinstall/__init__.py index f3f022d7..c8a55e7f 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -174,7 +174,7 @@ def get_arguments() -> dict[str, Any]: 0) we create a dict to store the arguments and their values 1) preprocess. We take those arguments which use JSON files, and read them into the argument dict. So each first level entry - becomes a argument on it's own right + becomes an argument on its own right 2) Load. We convert the predefined argument list directly into the dict via the vars() function. Non specified arguments are loaded with value None or false if they are booleans (action="store_true"). The name is chosen according to @@ -182,7 +182,7 @@ def get_arguments() -> dict[str, Any]: then load all the undefined arguments. In this case the names are taken as written. Important. This way explicit command line arguments take precedence over configuration files. 3) Amend - Change whatever is needed on the configuration dictionary (it could be done in post_process_arguments but this + Change whatever is needed on the configuration dictionary (it could be done in post_process_arguments but this ougth to be left to changes anywhere else in the code, not in the arguments dictionary """ config: dict[str, Any] = {}