#NEWLINE# def _write_archive( self , bundle_name , version , src_path , flavor = None ) : #NEWLINE# #INDENT# subpath = self . _ph . path_for_archive_for_bundle_version ( bundle_name , version , flavor = flavor ) #NEWLINE# with open ( src_path , 'r' ) as src_file : #NEWLINE# #INDENT# self . _storage . put ( subpath , src_file ) #NEWLINE# #UNINDENT# return subpath