https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/trac/upgrades/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/trac/upgrades/__pycache__/db45.cpython-310.pyc
o

�k�`��@s ddlZddlmZdd�ZdS)�N)�backup_config_filecsX�j�d�t�d������fdd�}|d�}||d�O}|r*t�d����dSdS)	z�Change [notification] ticket_subject_template and [notification]
    batch_subject_template to use syntax compatible with Jinja2.
    �notificationz
\$([\w.]+)csP���|�}|r&��|�r&��d|�}�j�d�|||����||�dSdS)Nz${\1}z#Replaced value of [%s] %s: %s -> %sTF)�get�match�sub�log�info�set)�name�	old_value�	new_value��config�env�re_template_var�section��4/usr/lib/python3/dist-packages/trac/upgrades/db45.py�update_templates
�z#do_upgrade.<locals>.update_template�ticket_subject_template�batch_subject_templatez	.db45.bakN)r�re�compiler�save)r�version�cursorr�updatedrr
r�
do_upgrades

�r)r�
trac.upgradesrrrrrr�<module>s


https://t.me/RX1948 - 2025