관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋f� � �p � d Z ddlmZ ddlZddlZdZdZd� Zd� Zd� Z e� � Z d Zdd lT dd l T dd lT dS )z� raven ~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)�VERSION�Client�get_versionz6.10.0c �6 � t j � | ddd� � }t j � |� � rWt |� � 5 }|� � � � � � d d� cd d d � � S # 1 swxY w Y d S d S )N�refs�heads�master� )�os�path�join�exists�open�read�strip)r � revision_file�fhs �E/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/__init__.py�_get_git_revisionr s� � ��G�L�L��v�w��A�A�M� �w�~�~�m�$�$� )� �-� � � )�B��7�7�9�9�?�?�$�$�R�a�R�(� )� )� )� )� )� )� )� )� )� )� )� )���� )� )� )� )� )� )�)� )s �.B�B�Bc � � t j � t � � } t j � t j � | t j t j � � � � }t j � |d� � }t j � |� � rt |� � S dS )z� :returns: Revision number of this branch/checkout, if available. None if no revision number can be determined. z.gitN) r r �dirname�__file__�normpathr �pardirr r )�package_dir�checkout_dirr s r �get_revisionr s� � � �'�/�/�(�+�+�K��7�#�#�B�G�L�L��b�i���$S�$S�T�T�L� �7�<�<��f�-�-�D� �w�~�~�d��� '� ��&�&�&�'� '� c �<