def _concat_str_or_list(inputstr):
    """always returns a comma joined list, whether the input is a
    single string or an iterable
    """
    if type(inputstr) is str:
        return inputstr
    return ','.join(inputstr)
