From ee92477c1bd90cdf1550a537e9a6031997abf62f Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 16 Nov 2019 13:20:17 +0100 Subject: [PATCH] fix lint --- mitmproxy/addons/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/export.py b/mitmproxy/addons/export.py index 7bd0aef0b..9d04997ff 100644 --- a/mitmproxy/addons/export.py +++ b/mitmproxy/addons/export.py @@ -27,7 +27,7 @@ def cleanup_request(f: flow.Flow) -> http.HTTPRequest: return request -def cleanup_response(f: flow.Flow)-> http.HTTPResponse: +def cleanup_response(f: flow.Flow) -> http.HTTPResponse: if not hasattr(f, "response") or not f.response: raise exceptions.CommandError("Can't export flow with no response.") assert isinstance(f, http.HTTPFlow)