def check_mount_point_ready(self, destination_disk, init_delay=0.2, loop_delay=0.25):
        """! Waits until destination_disk is ready and can be accessed by e.g. copy commands

        @return True if mount point was ready in given time, False otherwise

        @param destination_disk Mount point (disk) which will be checked for readiness
        @param init_delay - Initial delay time before first access check
        @param loop_delay - polling delay for access check
        """
        result = False
        # Let's wait for 30 * loop_delay + init_delay max
        if not access(destination_disk, F_OK):
            self.print_plugin_info(destination_disk% "Waiting for mount point '%s' to be ready...", NL=False)
            sleep(init_delay)
            for i in range(30):
                if access(destination_disk, F_OK):
                    result = True
                    break
                sleep(loop_delay)
                self.print_plugin_char('.')
        return result
dataset/ETHPy150Open ARMmbed/htrun/mbed_host_tests/host_tests_plugins/host_test_plugins.py/HostTestPluginBase.check_mount_point_ready/swapped operands of `%`