%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
| Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/rltempfile.cpython-312.pyc |
�
��da � �8 � d Z dZdadZddlZddlZd� Zd� Zdd�Zy) z3.3.0as Helper for the test suite - determines where to write output.
When our test suite runs as source, a script "test_foo.py" will typically
create "test_foo.pdf" alongside it. But if you are testing a package of
compiled code inside a zip archive, this won't work. This determines
where to write test suite output, creating a subdirectory of /tmp/ or
whatever if needed.
N)�get_rl_tempdirr � c �L � t t d� rt j � S y)N�getuid� )�hasattr�osr � � �:/usr/lib/python3/dist-packages/reportlab/lib/rltempfile.py�
_rl_getuidr s � ��r�(���y�y�{��r
c �* � t �Ft j j t j
� dt
t � � z � a t }| r t j j |f| z � } t j |� |S # Y |S xY w)NzReportLab_tmp%s) �_rl_tempdirr �path�join�tempfile�
gettempdir�strr �makedirs)�subdirs�ds r r r sy � ����g�g�l�l�8�#6�#6�#8�9J�S�Q[�Q]�M^�9^�_���A��B�G�G�L�L�A�4��<�1��
�
���A��
�H��
���H�s �6B
�
Bc �~ � | st j � } t j j t � | � S �N)r �mktempr r r r )�fns r �get_rl_tempfiler # s) � �
�
�_�_�
��
�7�7�<�<��(��,�,r
r ) �__version__�__doc__r �__all__r r r r r r r
r �<module>r s1 ��
�� ��
��
.�� ��
�-r