Commit 91e5f2d7 authored by Kenneth Giusti's avatar Kenneth Giusti

fix pep8 whining

parent d5d3ff20
......@@ -148,8 +148,8 @@ class PerfReceiver(pyngus.ReceiverEventHandler):
self.perf_conn.latency += latency
self.perf_conn.latency_min = min(latency, self.perf_conn.latency_min)
self.perf_conn.latency_max = max(latency, self.perf_conn.latency_max)
if (self.link.capacity < self.credit_low
and self.received < self.msg_count):
if self.link.capacity < self.credit_low and \
self.received < self.msg_count:
self.link.add_capacity(self.credit_window - self.link.capacity)
elif self.received == self.msg_count:
# link done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment