
    Y~h                         d dl Z d dlZd dlT  e             ej                            ej        d          dz               e	              e
             d dlT d dlmZ ddZdS )    N)*z/config_load.py)commit_all_dsFc                       fd}|S )Nc                       fd}|S )Nc                  N   t                               d          5  t          j        }dt          _        t                                            t
          j                            d          t          _	        t                                          5  t                                          5   | i | d d d            n# 1 swxY w Y   d d d            n# 1 swxY w Y   rt                       nt                       |t          _        d d d            d S # 1 swxY w Y   d S )N/Fz.CmfPerson:00000000-0000-0000-0000-000000000001)id)APPtest_request_contextconfigRAISE_LAZYLOADpreprocess_requestmodels	CmfPersongetgcurrent_personcmfutildisable_acldisable_notify
cmf_commitcmf_rollback)argskwargsr   commitfuncs      /opt/eva-app/patch/include.pywrapperz/app_context.<locals>.decorator.<locals>.wrapper   s   ))#.. 7 7!'!6(-%&&(((#)#3#7#7;k#7#l#l ((** * *G,B,B,D,D * * D$)&)))	* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  #LLLL NNN(6%!7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7sZ   A5DC+	C 4C CCCCDC	DC	.DD!D )r   r   r   s   ` r   	decoratorzapp_context.<locals>.decorator   s)    	7 	7 	7 	7 	7 	7$     r   )r   r    s   ` r   app_contextr"      s$        ( r!   )F)ossys
cmf.manageinstall_traceback_email_notifyr
   r   from_pyfilecmf__path__start_viewsinit_dscmf.includecmf.data_providers.baser   r"   r   r!   r   <module>r.      s    				 



             
  s|A):: ; ; ;  			     1 1 1 1 1 1     r!   