%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/samba/__pycache__/ |
| Current File : //lib/python3/dist-packages/samba/__pycache__/mdb_util.cpython-312.pyc |
�
�I�d� � �. � d dl Z d dlZd dlZd dlmZ d� Zy)� N)�CommandErrorc � � t j d� j t j � }d}|D ]E }t j j |d� }t j j
|� s�Cd} n |st d� �d| d| z g}t j |dd�� }t j d| z |� y )
z7Copy mdb file using mdb_copy utility and rename it
�PATHF�mdb_copyTzBmdb_copy not found. You may need to install the lmdb-utils packagez-nz%s.copy.mdb)� close_fds�shellN)�os�getenv�split�pathsep�path�join�existsr �
subprocess�
check_call�rename)�file1�file2�dirs�found�d�toolpath�mdb_copy_cmd�statuss �0/usr/lib/python3/dist-packages/samba/mdb_util.pyr r s� � � �9�9�V��"�"�2�:�:�.�D��E�
� ���7�7�<�<��:�.��
�7�7�>�>�(�#��E�� � �� L� M� M� �d�E�=�5�+@�A�L�
�
"�
"�<�4�u�
M�F��I�I�m�e�#�U�+� )�sambar r �samba.netcmdr r � r r �<module>r s ��&