def _wait_logs(self, client, container_id, wait=10):
        # NOTE(samalba): Give maximum 10 seconds to the containers to display
        # logs, so we assumed it started
        wait = float(wait)
        step = 0.3
        count = 0.0
        logs = None
        while not logs and (wait / step) < count:
            logs = client.logs(container_id)
            time.sleep(step)
            count += step
        return logs
dataset/ETHPy150Open docker/openstack-heat-docker/plugin/docker_container.py/Docker._wait_logs/swapped operands of `<`