199
202
:return: a generator of (bytes, metadata, content_kind, revision_id,
205
208
raise errors.BadBundle('Record has %d names instead of 1'
208
211
if metadata['storage_kind'] == 'header':
211
214
_unused, bytes = iterator.next()
213
215
yield (bytes, metadata) + self.decode_name(names[0][0])