GRAYBYTE WORDPRESS FILE MANAGER4084

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/utils/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/utils//transaction.py
from __future__ import absolute_import

from threading import local


class TransactionContext(object):
    def __init__(self, stack, context):
        self.stack = stack
        self.context = context

    def __enter__(self):
        self.stack.push(self.context)
        return self

    def __exit__(self, *exc_info):
        self.stack.pop(self.context)


class TransactionStack(local):
    def __init__(self):
        self.stack = []

    def __len__(self):
        return len(self.stack)

    def __iter__(self):
        return iter(self.stack)

    def __call__(self, context):
        return TransactionContext(self, context)

    def clear(self):
        self.stack = []

    def peek(self):
        try:
            return self.stack[-1]
        except IndexError:
            return None

    def push(self, context):
        self.stack.append(context)
        return context

    def pop(self, context=None):
        if context is None:
            return self.stack.pop()

        while self.stack:
            if self.stack.pop() is context:
                return context

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 15 2025 08:30:34
root / root
0755
__pycache__
--
May 15 2025 08:30:37
root / root
0755
serializer
--
May 15 2025 08:30:34
root / root
0755
__init__.py
3.143 KB
April 17 2025 13:10:58
root / root
0644
basic.py
2.386 KB
April 17 2025 13:10:58
root / root
0644
compat.py
5.543 KB
April 17 2025 13:10:58
root / root
0644
conf.py
2.288 KB
April 17 2025 13:10:58
root / root
0644
encoding.py
3.226 KB
April 17 2025 13:10:58
root / root
0644
http.py
1.953 KB
April 17 2025 13:10:58
root / root
0644
imports.py
0.395 KB
April 17 2025 13:10:58
root / root
0644
json.py
2.907 KB
April 17 2025 13:10:58
root / root
0644
ssl_match_hostname.py
3.514 KB
April 17 2025 13:10:58
root / root
0644
stacks.py
9.801 KB
April 17 2025 13:10:58
root / root
0644
testutils.py
0.681 KB
April 17 2025 13:10:58
root / root
0644
transaction.py
1.063 KB
April 17 2025 13:10:58
root / root
0644
urlparse.py
0.465 KB
April 17 2025 13:10:58
root / root
0644
wsgi.py
3.644 KB
April 17 2025 13:10:58
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF