aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessicaFavin <j.favin@hotmail.fr>2018-11-04 19:18:32 +0100
committerJessicaFavin <j.favin@hotmail.fr>2018-11-04 19:18:32 +0100
commitfd1efc885236f41a2d427ede40a7f7ae272ae319 (patch)
tree17c27d5c4b779ce020fe8ed90fe13e336f6252ea
parent0cbbcffd89c84c00d1fbd989778a34c42f914779 (diff)
downloadmitmproxy-fd1efc885236f41a2d427ede40a7f7ae272ae319.tar.gz
mitmproxy-fd1efc885236f41a2d427ede40a7f7ae272ae319.tar.bz2
mitmproxy-fd1efc885236f41a2d427ede40a7f7ae272ae319.zip
Remove indent on echo_error
-rw-r--r--mitmproxy/addons/dumper.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mitmproxy/addons/dumper.py b/mitmproxy/addons/dumper.py
index 4b2357f8..dcac6b82 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()