Updated binary operator line break code quality change
This commit is contained in:
parent
ed7f973b1c
commit
9322a683fe
|
@ -104,9 +104,9 @@ class RandomTrackingDict(object):
|
||||||
def randomKeys(self, count=1):
|
def randomKeys(self, count=1):
|
||||||
"""Retrieve count random keys from the dict
|
"""Retrieve count random keys from the dict
|
||||||
that haven't already been retrieved"""
|
that haven't already been retrieved"""
|
||||||
if self.len == 0 or ((self.pendingLen >= self.maxPending or
|
if self.len == 0 or (
|
||||||
self.pendingLen == self.len) and self.lastPoll +
|
(self.pendingLen >= self.maxPending or self.pendingLen == self.len)
|
||||||
self.pendingTimeout > time()):
|
and self.lastPoll + self.pendingTimeout > time()):
|
||||||
raise KeyError
|
raise KeyError
|
||||||
|
|
||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
|
|
Reference in New Issue
Block a user