def read_status(self, timeout=None, timeout_status=None):
        """Blocks, waiting for the status message to be reported.

        @param timeout:  If not None, this will only block until the specified number of seconds has passed.  After
           which, ``timeout_status`` is returned for this method.
        @param timeout_status:  The string to return when the timeout has been reached.

        @type timeout: float
        @type timeout_status: str

        @return:  The reported status message, or ``timeout_status`` if the timeout has been reached.
        @rtype: str
        """
        if timeout is not None:
            deadline = time.time() + timeout
        else:
            deadline = None

        while True:
            if deadline is not None and deadline > time.time():
                return timeout_status
            self.__fp.seek(0)
            num_bytes = self.__fp.readline()
            if num_bytes != '':
                message = self.__fp.read()
                if len(message) == int(num_bytes):
                    return message
            time.sleep(0.20)
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_posix.py/StatusReporter.read_status/swapped operands of `>`