/opt/cloudlinux/venv/lib/python3.11/site-packages/raven/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/__pycache__/versioning.cpython-311.pyc (4079B)
f D d dl mZ d dlZd dlmZ ddlmZ dZd dZ d Z
dS )
)absolute_importN) text_type )InvalidGitRepository)
fetch_git_shafetch_package_versionc |st j | dd }t j | st d| t |d 5 }t
| }ddd n# 1 swxY w Y | d r6|dd }t j j | dg|
d R }n%|S t j | dd d
| }t j | s?t j t j | d st | d t j | dd }t j | rt | 5 }|D ]r}| }|rZ|dd
dvrN |
dd
\ }} n# t $ r Y Kw xY w| |k rt
| c cddd S s ddd n# 1 swxY w Y t d|d t | 5 }t
| cddd S # 1 swxY w Y dS )z6
>>> fetch_git_sha(os.path.dirname(__file__))
z.gitHEADz+Cannot identify HEAD for git repository at rNzref: /refsheadsz1 does not seem to be the root of a git repositoryzpacked-refsr )#^ zUnable to find ref to head "z" in repository)
ospathjoinexistsr openr readstrip
startswithsplitrstrip
ValueError)
r head head_pathfp
revision_filepacked_filefhlinerevisionrefs
E/opt/cloudlinux/venv/lib/python3.11/site-packages/raven/versioning.pyr r s JGLLvv66 w~~i(( K&&CG4IK K
K )S
!
! 0RRWWYY''--//D 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ??7## 8DGLf#zz# MM KT667DII
7>>-(( Gw~~bgll48899 Q&IMOQ Q
Q
gll4??
7>>+&&