diff options
Diffstat (limited to 'security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py')
-rw-r--r-- | security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py b/security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py index 5b9a28e1b67b..cc9c814cdd51 100644 --- a/security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py +++ b/security/py-notus-scanner/files/patch-notus-scanner-cli_parser.py @@ -1,11 +1,14 @@ ---- notus/scanner/cli/parser.py 2022-07-31 23:45:49.051030000 -0500 -+++ notus/scanner/cli/parser.py 2022-07-31 23:46:07.662584000 -0500 -@@ -29,7 +29,7 @@ +--- notus/scanner/cli/parser.py 2023-08-30 03:14:56.000000000 -0500 ++++ notus/scanner/cli/parser.py 2023-10-20 18:26:27.530523000 -0500 +@@ -16,9 +16,8 @@ logger = logging.getLogger(__name__) -DEFAULT_CONFIG_FILE = "/etc/gvm/notus-scanner.toml" +-DEFAULT_USER_CONFIG_FILE = "~/.config/notus-scanner.toml" +- +DEFAULT_CONFIG_FILE = "%%LOCALBASE%%/etc/gvm/notus-scanner.toml" - DEFAULT_USER_CONFIG_FILE = "~/.config/notus-scanner.toml" - ++DEFAULT_USER_CONFIG_FILE = "%%LOCALBASE%%/etc/gvm/notus-scanner.toml" + def log_level(string: str) -> str: + """Check if provided string is a valid log level.""" |