Remove unused methods

This commit is contained in:
Thomas Scholtes 2014-03-09 14:08:43 +01:00
parent 0a3e47c965
commit ee40050d4b

View file

@ -370,13 +370,6 @@ class StorageStyle(object):
elif self.out_type == unicode:
return u''
def _strip_possible_suffix(self, data):
if self.suffix and isinstance(data, unicode) \
and data.endswith(self.suffix):
return data[:-len(self.suffix)]
else:
return data
class ListStorageStyle(StorageStyle):
"""Abstract class that provides access to lists.
@ -445,12 +438,6 @@ class MP4StorageStyle(StorageStyle):
formats = ['aac', 'alac']
def fetch(self, mutagen_file):
try:
return mutagen_file[self.key][0]
except KeyError:
return None
def serialize(self, value):
value = super(MP4StorageStyle, self).serialize(value)
if self.key.startswith('----:') and isinstance(value, unicode):