

def delete_cmd(track):
    tracks_dict = get_tracks_dict_raw()
    if (track not in tracks_dict['tracks']):
        error("Track '{0}' does not exist.".format(track), exit=True)
    del track['tracks'][track]
    info("Deleted track '{0}'.".format(track))
    write_tracks_dict_raw(tracks_dict)

dataset/ETHPy150Open ros-infrastructure/bloom/bloom/commands/git/config.py delete_cmd/VarMisuse@45/72 `tracks_dict`->`track`