From 9ccf583061e22b04bf3ee48ab4827a4b3d3ebe43 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 6 Oct 2022 13:55:38 +0000 Subject: [PATCH] Apply 3 suggestion(s) to 2 file(s) --- fdroidserver/common.py | 2 +- fdroidserver/scanner.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 0f001019..421e6a54 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -325,7 +325,7 @@ def fill_config_defaults(thisconfig): def get_config(opts=None): - """Get config instace. This function takes care of initaling config data before returning it.""" + """Get config instace. This function takes care of initializing config data before returning it.""" global config, options if config is not None: diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 39bffd67..e14aadae 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -353,7 +353,7 @@ def _get_tool(): """ Lazy loading function for getting a ScannerTool instance. - ScannerTool initialization need to access `common.config` values. Those are only available after initialization through `common.read_config()` So this factory assumes config was called at an erlier point in time + ScannerTool initialization need to access `common.config` values. Those are only available after initialization through `common.read_config()`. So this factory assumes config was called at an erlier point in time. """ if not scanner._SCANNER_TOOL: scanner._SCANNER_TOOL = ScannerTool() @@ -682,7 +682,7 @@ def main(): parser.add_argument("--json", action="store_true", default=False, help=_("Output JSON to stdout.")) parser.add_argument("--refresh", "-r", action="store_true", default=False, - help=_("fetach the latest version of signatures from the web")) + help=_("fetch the latest version of signatures from the web")) metadata.add_metadata_arguments(parser) options = parser.parse_args() metadata.warnings_action = options.W