def call_until_false(func, args, maxcount=99):
    """Repeteadly calls func"""
    count, ret, retvals = maxcount, func(*args), []
    while ret and count:
        retvals.append(ret)
        ret = func(*args)
        count -= 1
    return tuple(retvals)
