$77 GRAYBYTE WORDPRESS FILE MANAGER $30

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib/python3.7/site-packages/raven/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/raven//__init__.py
"""
raven
~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import

import os
import os.path

__all__ = ('VERSION', 'Client', 'get_version')

VERSION = '6.3.0'


def _get_git_revision(path):
    revision_file = os.path.join(path, 'refs', 'heads', 'master')
    if not os.path.exists(revision_file):
        return None
    fh = open(revision_file, 'r')
    try:
        return fh.read().strip()[:7]
    finally:
        fh.close()


def get_revision():
    """
    :returns: Revision number of this branch/checkout, if available. None if
        no revision number can be determined.
    """
    package_dir = os.path.dirname(__file__)
    checkout_dir = os.path.normpath(os.path.join(package_dir, os.pardir, os.pardir))
    path = os.path.join(checkout_dir, '.git')
    if os.path.exists(path):
        return _get_git_revision(path)
    return None


def get_version():
    base = VERSION
    if __build__:
        base = '%s (%s)' % (base, __build__)
    return base


__build__ = get_revision()
__docformat__ = 'restructuredtext en'


# Declare child imports last to prevent recursion
from raven.base import *  # NOQA
from raven.conf import *  # NOQA
from raven.versioning import *  # NOQA

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Apr 2024 12.35 AM
root / 996
0755
__pycache__
--
31 Aug 2024 6.49 AM
root / 996
0755
conf
--
31 Aug 2024 6.49 AM
root / 996
0755
contrib
--
31 Aug 2024 6.49 AM
root / 996
0755
handlers
--
31 Aug 2024 6.49 AM
root / 996
0755
scripts
--
31 Aug 2024 6.49 AM
root / 996
0755
transport
--
31 Aug 2024 6.49 AM
root / 996
0755
utils
--
31 Aug 2024 6.49 AM
root / 996
0755
__init__.py
1.277 KB
30 Oct 2017 12.41 AM
root / 996
0644
base.py
29.205 KB
30 Oct 2017 12.41 AM
root / 996
0644
breadcrumbs.py
11.272 KB
30 Oct 2017 12.41 AM
root / 996
0644
context.py
3.681 KB
30 Oct 2017 12.41 AM
root / 996
0644
events.py
4.563 KB
30 Oct 2017 12.41 AM
root / 996
0644
exceptions.py
0.605 KB
30 Oct 2017 12.41 AM
root / 996
0644
middleware.py
3.51 KB
30 Oct 2017 12.41 AM
root / 996
0644
processors.py
4.184 KB
30 Oct 2017 12.41 AM
root / 996
0644
versioning.py
2.539 KB
30 Oct 2017 12.41 AM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF