%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/landscape/lib/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/landscape/lib/__pycache__/scriptcontent.cpython-312.pyc |
� �~�e � � � d dl mZ d� Zd� Zy)� )�md5c �6 � dj | xs d|xs d� S )zJ Concatenates a interpreter and script into an executable script. z#!{} {}� )�format)�interpreter�codes �=/usr/lib/python3/dist-packages/landscape/lib/scriptcontent.py�build_scriptr s � � ���[�.�B�� ��;�;� c �t � | j d� }t |� j � j d� S )z+ Return a hash for a given script. zutf-8�ascii)�encoder � hexdigest)�script�encoded_scripts r �generate_script_hashr s3 � � �]�]�7�+�N� �~��(�(�*�1�1�'�:�:r N)�landscape.lib.hashlibr r r � r r �<module>r s �� %�<�;r