#NEWLINE# @ frappe . whitelist ( ) #NEWLINE# def update( hidden_list , user = None ) : #NEWLINE# #INDENT# 'update modules' #NEWLINE# if ( not user ) : #NEWLINE# #INDENT# frappe . only_for ( 'System Manager' ) #NEWLINE# #UNINDENT# set_hidden_list ( hidden_list , user ) #NEWLINE# frappe . msgprint ( frappe . _ ( 'Updated' ) )