_get_entry_content returns a single dict, but _get_entry_id had been
unpacking it as if it was a length-two tuple.
Signed-off-by: W. Trevor King <wking@tremily.us>
if isinstance(entry.id, dict):
return entry.id.values()[0]
return entry.id
- content_type,content_value = self._get_entry_content(entry)
- content_value = content_value.strip()
+ content = self._get_entry_content(entry)
+ content_value = content['value'].strip()
if content_value:
return hash(content_value.encode('unicode-escape')).hexdigest()
elif getattr(entry, 'link', None):