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):
|
||||
"""Retrieve count random keys from the dict
|
||||
that haven't already been retrieved"""
|
||||
if self.len == 0 or ((self.pendingLen >= self.maxPending or
|
||||
self.pendingLen == self.len) and self.lastPoll +
|
||||
self.pendingTimeout > time()):
|
||||
if self.len == 0 or (
|
||||
(self.pendingLen >= self.maxPending or self.pendingLen == self.len)
|
||||
and self.lastPoll + self.pendingTimeout > time()):
|
||||
raise KeyError
|
||||
|
||||
# pylint: disable=redefined-outer-name
|
||||
|
|
Reference in New Issue
Block a user