def swap_places_colon(ingredient):
    """Split string `ingredient` by colon and swap the first and second tokens."""
    components = ingredient.split(':')
    if len(components) <= 1:
        return ingredient
    else:
        return '{} {}'.format(
            swap_places_colon(':'.join(components[1:])), components[0])