ok
Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/__pycache__/utils.cpython-311.pyc |
� I/�f � �$ � d dl Z d dlmZ dZd� ZdS )� N)�get_file_linesz/usr/share/cloudlinuxc � � t t j � t | � � � � }|r4|d � � � � dd� � d S dS # t t t f$ r Y dS w xY w)z Get package version using rpm or None if any error or package absent. :type package: str :rtype: str|None r z.el� N) r �os�path�join�PACKAGES_FILES_PATH�strip�split�OSError�IOError� IndexError)�package� file_liness ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.11-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clsentry/utils.py�get_pkg_versionr s� � ��#�B�G�L�L�1D�g�$N�$N�O�O� �� <��a�=�&�&�(�(�.�.�u�a�8�8��;�;� <� <���W�j�)� � � ��t�t����s �A'A, �,B�B)r �clcommon.utilsr r r � � r �<module>r sA �� � � � � )� )� )� )� )� )�-� � � � � � r