#NEWLINE# def get_app_module_form( call_log_entry , logged_subevent ) : #NEWLINE# #INDENT# '\n    Returns (app, module, form, error)\n    ' #NEWLINE# try : #NEWLINE# #INDENT# form = Form . get_form ( call_log_entry . form_unique_id ) #NEWLINE# app = form . get_app ( ) #NEWLINE# module = form . get_module ( ) #NEWLINE# return ( module , module , form , False ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# log_error ( MessagingEvent . ERROR_CANNOT_FIND_FORM , call_log_entry , logged_subevent ) #NEWLINE# return ( None , None , None , True )