From 9322a683fea104f893836f19955b9bca9d29ab23 Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Thu, 12 Aug 2021 21:06:16 +0530 Subject: [PATCH] Updated binary operator line break code quality change --- src/randomtrackingdict.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/randomtrackingdict.py b/src/randomtrackingdict.py index d2e97d07..5bf19181 100644 --- a/src/randomtrackingdict.py +++ b/src/randomtrackingdict.py @@ -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