From fd1efc885236f41a2d427ede40a7f7ae272ae319 Mon Sep 17 00:00:00 2001 From: JessicaFavin Date: Sun, 4 Nov 2018 19:18:32 +0100 Subject: [PATCH] Remove indent on echo_error --- mitmproxy/addons/dumper.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mitmproxy/addons/dumper.py b/mitmproxy/addons/dumper.py index 4b2357f89..dcac6b82e 100644 --- a/mitmproxy/addons/dumper.py +++ b/mitmproxy/addons/dumper.py @@ -71,9 +71,7 @@ class Dumper: if self.outfp: self.outfp.flush() - def echo_error(self, text, ident=None, **style): - if ident: - text = indent(ident, text) + def echo_error(self, text, **style): click.secho(text, file=self.errfp, **style) if self.errfp: self.errfp.flush()