def _decoded_contents(self, resp, old_obj):
     contents = []
     for c in resp.content:
         new_obj = RiakObject(old_obj.client, old_obj.bucket, old_obj.key)
         new_obj.vclock = resp.vclock
         contents.append(self.decode_content(c, new_obj))
     if contents:
         ret = contents[0]
         if len(contents) > 1:
             ret.siblings = contents[:]
         return ret
     else:
         return old_obj
 def _decoded_contents(self, resp, old_obj):
     contents = []
     for c in resp.content:
         new_obj = RiakObject(old_obj.client, old_obj.bucket, old_obj.key)
         new_obj.vclock = resp.vclock
         contents.append(self.decode_content(c, new_obj))
     if contents:
         ret = contents[0]
         if len(contents) > 1:
             ret.siblings = contents[:]
         return ret
     else:
         return old_obj