Merge from trunk

This commit is contained in:
Charles Haley 2010-09-26 18:54:29 +01:00
commit b3014af31f

View File

@ -363,7 +363,7 @@ class Metadata(object):
if len(other_cover) > len(self_cover): if len(other_cover) > len(self_cover):
self.cover_data = other.cover_data self.cover_data = other.cover_data
if getattr(other, 'custom_field_keys', None): if callable(getattr(other, 'custom_field_keys', None)):
for x in other.custom_field_keys(): for x in other.custom_field_keys():
meta = other.get_user_metadata(x, make_copy=True) meta = other.get_user_metadata(x, make_copy=True)
if meta is not None: if meta is not None: