SILENT KILLERPanel

Current Path: > > opt > alt > python37 > lib > python3.7 > > site-packages > raven


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python37/lib/python3.7//site-packages/raven

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
conf Directory - -
contrib Directory - -
handlers Directory - -
scripts Directory - -
transport Directory - -
utils Directory - -
__init__.py File 1308 bytes October 29 2017 17:41:19.
base.py File 29906 bytes October 29 2017 17:41:19.
breadcrumbs.py File 11543 bytes October 29 2017 17:41:19.
context.py File 3769 bytes October 29 2017 17:41:19.
events.py File 4673 bytes October 29 2017 17:41:19.
exceptions.py File 620 bytes October 29 2017 17:41:19.
middleware.py File 3594 bytes October 29 2017 17:41:19.
processors.py File 4284 bytes October 29 2017 17:41:19.
versioning.py File 2600 bytes October 29 2017 17:41:19.

Reading 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

SILENT KILLER Tool