OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
raven
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/05/2025 09:36:16 AM
rwxr-xr-x
📄
__init__.py
1.28 KB
10/29/2017 05:41:19 PM
rw-r--r--
📁
__pycache__
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📄
base.py
29.21 KB
10/29/2017 05:41:19 PM
rw-r--r--
📄
breadcrumbs.py
11.27 KB
10/29/2017 05:41:19 PM
rw-r--r--
📁
conf
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📄
context.py
3.68 KB
10/29/2017 05:41:19 PM
rw-r--r--
📁
contrib
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📄
events.py
4.56 KB
10/29/2017 05:41:19 PM
rw-r--r--
📄
exceptions.py
620 bytes
10/29/2017 05:41:19 PM
rw-r--r--
📁
handlers
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📄
middleware.py
3.51 KB
10/29/2017 05:41:19 PM
rw-r--r--
📄
processors.py
4.18 KB
10/29/2017 05:41:19 PM
rw-r--r--
📁
scripts
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📁
transport
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📁
utils
-
02/16/2024 08:51:42 PM
rwxr-xr-x
📄
versioning.py
2.54 KB
10/29/2017 05:41:19 PM
rw-r--r--
Editing: __init__.py
Close
""" 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