Updated binary operator line break code quality change

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-12 21:06:16 +05:30
parent ed7f973b1c
commit 9322a683fe
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -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