Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
trac
/
ticket
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: batch.cpython-310.pyc
o �k�`�* � @ s� d dl Z d dlT d dlmZ d dlmZ d dlmZmZ d dl m Z d dlmZ d dl mZ d d lmZmZ d d lmZ d dlmZmZ d dlmZmZ d d lmZmZmZ d dlmZm Z m!Z! G dd� de"�Z#dS )� N)�*)�NotificationSystem)�IPermissionRequestor)�ITicketManipulator�TicketSystem)�Ticket)�BatchTicketChangeEvent)�to_list)�datetime_now�utc)�tag)�exception_to_unicode� to_unicode)�_�tag_)�HTTPBadRequest�IRequestFilter�IRequestHandler)�Chrome�add_script_data�add_warningc @ s� e Zd ZdZeeee� dZe e �Ze� d�ZdZdd� Zdd� Zd d � Zdd� Zd d� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )�BatchModifyModuleac Ticket batch modification module. This component allows multiple tickets to be modified in one request from the custom query page. For users with the TICKET_BATCH_MODIFY permission it will add a [TracBatchModify batch modify] section underneath custom query results. Users can choose which tickets and fields they wish to modify. Fz[;\s,]+z, c C s |j dkS )Nz/batchmodify)� path_info)�self�req� r �3/usr/lib/python3/dist-packages/trac/ticket/batch.py� match_request5 s zBatchModifyModule.match_requestc C s� |j dkrttd���|j�d� |j�dd�}|j�d�}i }t| j�� � D ]*}|d }|dd |jvr6d nd vrQ|d d krQd| }||jv rQ|j�|�||<