mirror of
https://github.com/beetbox/beets.git
synced 2026-02-17 04:43:40 +01:00
Remove duplicate code
This commit is contained in:
parent
d3777745fc
commit
8ffee6c027
1 changed files with 0 additions and 5 deletions
|
|
@ -377,8 +377,6 @@ class StorageStyle(object):
|
|||
if item == self._none_value() or item is None:
|
||||
del(items[i:]) # truncate
|
||||
break
|
||||
|
||||
elif self.packing == packing.DATE:
|
||||
field_lengths = [4, 2, 2] # YYYY-MM-DD
|
||||
elems = []
|
||||
for i, item in enumerate(items):
|
||||
|
|
@ -489,9 +487,6 @@ class MP4StorageStyle(StorageStyle):
|
|||
except KeyError:
|
||||
return None
|
||||
|
||||
def store(self, mutagen_file, value):
|
||||
mutagen_file[self.key] = [value]
|
||||
|
||||
def serialize(self, value):
|
||||
value = super(MP4StorageStyle, self).serialize(value)
|
||||
if self.key.startswith('----:') and isinstance(value, unicode):
|
||||
|
|
|
|||
Loading…
Reference in a new issue