#NEWLINE# def assemble_ms_object( x ) : #NEWLINE# #INDENT# conn = create_sw_conn ( ) #NEWLINE# ( headers , body ) = conn . get_object ( x [ 0 ] , x [ 1 ] ) #NEWLINE# with open ( x [ 3 ] , 'r+b' ) as f_out : #NEWLINE# #INDENT# if ( x [ 2 ] > 0 ) : #NEWLINE# #INDENT# f_out . seek ( headers [ 2 ] ) #NEWLINE# #UNINDENT# f_out . write ( bytes ( body ) ) #NEWLINE# #UNINDENT# conn . close ( )