def parse_slots(content):
    """Parse the list of slots.

    Cleans up spaces between items.

    Parameters
    ----------
    content: :class:`str`
        A string containing comma separated values.

    Returns
    -------
    :class:`str`:
        The slots string.
    """
    slots = content.split(",")
    return ",".join(s.strip() for s in slots)