mirror of
https://github.com/beetbox/beets.git
synced 2026-02-01 13:03:59 +01:00
Removed some unused and commented out code.
This commit is contained in:
parent
4291932298
commit
514fa6cf0c
1 changed files with 0 additions and 8 deletions
|
|
@ -49,10 +49,6 @@ PYLAST_EXCEPTIONS = (
|
|||
|
||||
# Core genre identification routine.
|
||||
|
||||
def _split_genre_string(genre):
|
||||
genres = genre.split(',')
|
||||
return genres
|
||||
|
||||
def _tags_for(obj):
|
||||
"""Given a pylast entity (album or track), returns a list of
|
||||
tag names for that entity. Returns an empty list if the entity is
|
||||
|
|
@ -92,8 +88,6 @@ def _find_allowed(genres):
|
|||
if _is_allowed(genre):
|
||||
allowed_genres.append(genre.title())
|
||||
|
||||
# pdb.set_trace()
|
||||
|
||||
for genre in allowed_genres[:-1]:
|
||||
genre = genre + ', '
|
||||
allowed_genres_copy.append(genre)
|
||||
|
|
@ -103,8 +97,6 @@ def _find_allowed(genres):
|
|||
|
||||
genre_str = ''
|
||||
return genre_str.join(allowed_genres_copy)
|
||||
# return genre.title() # Title case.
|
||||
# return None
|
||||
|
||||
def _strings_to_genre(tags):
|
||||
"""Given a list of strings, return a genre. Returns the first string
|
||||
|
|
|
|||
Loading…
Reference in a new issue