'Determines if two pages are equal using a ratio.'

def equal_with_limit(self, body1, body2, compare_diff=False):

    if compare_diff:
        (body1, body2) = diff(body1, body2)
    cmp_res = relative_distance_boolean(body1, body2, self._eq_limit)
    args = (self._eq_limit, cmp_res)
    self.debug(('Strings    are    similar    enough    with    limit    %s?    %s' % args), None)
    return cmp_res
