#NEWLINE# def _get_upload_urls( self , relative_path , filesizes , user = None ) : #NEWLINE# #INDENT# abs_paths = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( path , filesize ) in filesizes . items ( ) : #NEWLINE# #INDENT# abs_paths [ os . path . join ( relative_path , path ) ] = filesize #NEWLINE# #UNINDENT# urls = self . _file_adapter . get_upload_urls ( abs_paths , user ) #NEWLINE# urls = self . _relativize_keys ( urls , relative_path ) #NEWLINE# return urls