def wait(self, timeout=5):
        if self.done():
            return self._value
        try:
            value = self._q.get(timeout=timeout)
        except Queue.Empty:
            logger((self._func, self._kwargs) % "Timeout in %s(%s)")
            raise
        return value
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/south/plugins/storage/twistedimpl/securedht/dht_server.py/TwistedWaitObject.wait/swapped operands of `%`