From 8eeab37a07a00a0c85067ed58885233e426067f7 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 29 May 2016 11:43:29 +0200 Subject: more style cleanup Use this to check: flake8 --count mitmproxy netlib pathod examples test --- netlib/http/http2/connections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netlib/http/http2/connections.py') diff --git a/netlib/http/http2/connections.py b/netlib/http/http2/connections.py index 6643b6b9..b988d6ef 100644 --- a/netlib/http/http2/connections.py +++ b/netlib/http/http2/connections.py @@ -356,7 +356,7 @@ class HTTP2Protocol(object): frms = [frm_cls( flags=[], stream_id=stream_id, - data=header_block_fragment[i:i+chunk_size]) for frm_cls, i in frame_cls(chunks)] + data=header_block_fragment[i:i + chunk_size]) for frm_cls, i in frame_cls(chunks)] frms[-1].flags.add('END_HEADERS') if end_stream: @@ -377,7 +377,7 @@ class HTTP2Protocol(object): frms = [frame.DataFrame( flags=[], stream_id=stream_id, - data=body[i:i+chunk_size]) for i in chunks] + data=body[i:i + chunk_size]) for i in chunks] frms[-1].flags.add('END_STREAM') if self.dump_frames: # pragma no cover -- cgit v1.2.3