def delay(self):
        now = datetime.now()
        # n.b. include _pauseUntil from PauseWithBackoff
        return max(timedelta(seconds=0),
                   min(self._expires - now,
                       now - getattr(self, '_pauseUntil', self._expires)))
dataset/ETHPy150Open godaddy/Thespian/thespian/system/transport/TCPTransport.py/TCPIncoming_Common.delay/swapped operands of `-`