#NEWLINE# def refresh_gist( res , options ) : #NEWLINE# #INDENT# file_full_name = options [ 'fileFullName' ] #NEWLINE# ( base , filename ) = os . path . split ( file_full_name ) #NEWLINE# settings = util . get_settings ( ) #NEWLINE# with open ( file_full_name , 'wb' ) as fp : #NEWLINE# #INDENT# fp . write ( res . content ) #NEWLINE# #UNINDENT# show_message ( ( '%s update succeed' % settings ) )