From c9d770017e7156ec46978bdf8bf48cd4124affc8 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Wed, 15 Apr 2020 17:43:08 +0200 Subject: [PATCH] Fix 'Too many redirects' error message formatting --- httpie/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpie/core.py b/httpie/core.py index 575257c1..7c955e7e 100644 --- a/httpie/core.py +++ b/httpie/core.py @@ -90,7 +90,7 @@ def main( exit_status = ExitStatus.ERROR_TOO_MANY_REDIRECTS env.log_error( f'Too many redirects' - f' (--max-redirects=parsed_args.max_redirects).' + f' (--max-redirects={parsed_args.max_redirects}).' ) except Exception as e: # TODO: Further distinction between expected and unexpected errors.