def make_list(str_or_list):
    if isinstance(str_or_list, basestring):
        return [str_or_list,]
    return str_or_list
Makes list from a string or passes argument as is.
dataset/ETHPy150Open svetlyak40wt/gtdzen/gtdzen/utils.py/make_list