Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : transaction.cpython-37.pyc
B

��Y@�@s<ddlmZddlmZGdd�de�ZGdd�de�ZdS)�)�absolute_import)�localc@s$eZdZdd�Zdd�Zdd�ZdS)�TransactionContextcCs||_||_dS)N)�stack�context)�selfrr�r�H/opt/alt/python37/lib/python3.7/site-packages/raven/utils/transaction.py�__init__szTransactionContext.__init__cCs|j�|j�|S)N)r�pushr)rrrr	�	__enter__szTransactionContext.__enter__cGs|j�|j�dS)N)r�popr)r�exc_inforrr	�__exit__szTransactionContext.__exit__N)�__name__�
__module__�__qualname__r
rrrrrr	rsrc@sNeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	ddd�Z
dS)�TransactionStackcCs
g|_dS)N)r)rrrr	r
szTransactionStack.__init__cCs
t|j�S)N)�lenr)rrrr	�__len__szTransactionStack.__len__cCs
t|j�S)N)�iterr)rrrr	�__iter__szTransactionStack.__iter__cCs
t||�S)N)r)rrrrr	�__call__szTransactionStack.__call__cCs
g|_dS)N)r)rrrr	�clear szTransactionStack.clearcCs$y
|jdStk
rdSXdS)N���)r�
IndexError)rrrr	�peek#s
zTransactionStack.peekcCs|j�|�|S)N)r�append)rrrrr	r)szTransactionStack.pushNcCs4|dkr|j��Sx|jr.|j��|kr|SqWdS)N)rr
)rrrrr	r
-s

zTransactionStack.pop)N)rrrr
rrrrrrr
rrrr	rsrN)�
__future__r�	threadingr�objectrrrrrr	�<module>s
© 2025 XylotrechusZ