Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 41664c1

Browse files
committed
Fixup linting errors in http20/window.py.
1 parent 4ba845a commit 41664c1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hyper/http20/window.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
managers will define a flow-control policy. This policy will determine when to
1414
send WINDOWUPDATE frames.
1515
"""
16+
17+
1618
class BaseFlowControlManager(object):
1719
"""
1820
The abstract base class for flow control managers.
@@ -128,8 +130,8 @@ class FlowControlManager(BaseFlowControlManager):
128130
``hyper``'s default flow control manager.
129131
130132
This implements hyper's flow control algorithms. This algorithm attempts to
131-
reduce the number of WINDOWUPDATE frames we send without blocking the remote
132-
endpoint behind the flow control window.
133+
reduce the number of WINDOWUPDATE frames we send without blocking the
134+
remote endpoint behind the flow control window.
133135
134136
This algorithm will become more complicated over time. In the current form,
135137
the algorithm is very simple:
@@ -143,7 +145,7 @@ def increase_window_size(self, frame_size):
143145
future_window_size = self.window_size - frame_size
144146

145147
if ((future_window_size < (self.initial_window_size / 4)) or
146-
(future_window_size < 1000)):
148+
(future_window_size < 1000)):
147149
return self.initial_window_size - future_window_size
148150

149151
return 0

0 commit comments

Comments
 (0)