def createFunctionArgs(args):
    """
    Converts args to a tuple we can pass to a function using the
    *args method.
    """
    if args is None:
        return tuple()
    if isinstance(args, str):
        return (args,)
    # then it must be some kind of list, return as (a,b, ...)
    return tuple(args)