📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib64
›
python3.9
›
site-packages
›
hgext
›
hooklib
›
📁 __pycache__
📍
Lokasi:
/usr/lib64/python3.9/site-packages/hgext/hooklib/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: changeset_published.cpython-39.opt-1.pyc
a �+�b� � @ s� d Z ddlmZ ddlmZ ddlmZ ddl m Z ddlmZm Z mZmZmZmZmZ ddlmZ ddlmZ i Ze�e�Zed d dd� ed ddd� ed d dd� dd� Zddd�ZdS )aw changeset_published is a hook to send a mail when an existing draft changeset is moved to the public phase. Correct message threading requires the same messageidseed to be used for both the original notification and the new mail. Usage: [notify] messageidseed = myseed [hooks] txnclose-phase.changeset_published = python:hgext.hooklib.changeset_published.hook � )�absolute_importN)�_)�encoding�error� formatter� logcmdutil�mail�pycompat� registrar)�dateutil� )�notify� notify_published� domain)�default� messageidseed� templatesA Subject: changeset published This changeset has been published. c C sn | � dd�p| � dd�}| � dd�p.| � dd�}| � dd�}t�|�}t�| ||�}| �� t�| |d�}t� } |j D ]B\} }|d u r�| � | � qv|�d||�� �}t |�rv| � | � qvqvt | �dkr�| �d � d S |j||�� | � d d�|j|jd� | �� }zt�|�} W n2 tj�y@ } zt�|��W Y d }~n d }~0 0 t�|||�| d <