#NEWLINE# def _to_object_list( self , response , container ) : #NEWLINE# #INDENT# objects = [ ] #NEWLINE# for obj in response : #NEWLINE# #INDENT# name = obj [ 'name' ] #NEWLINE# size = int ( obj [ 'bytes' ] ) #NEWLINE# hash = obj [ 'hash' ] #NEWLINE# extra = { #NEWLINE# #INDENT# 'content_type' : obj [ 'content_type' ] , #NEWLINE# 'last_modified' : obj [ 'last_modified' ] , #NEWLINE# #UNINDENT# } #NEWLINE# objects . append ( Object ( name = name , size = size , hash = hash , extra = extra , meta_data = None , container = container , driver = self ) ) #NEWLINE# #UNINDENT# return objects