B
    lz]                 @   sN   d dl mZmZmZmZ d dlmZ d dlmZ ddl	m
Z
 ed
ddZd	S )    )absolute_importdivisionprint_functionunicode_literals)contextmanager)unlink   )Utf8NamedTemporaryFile c          	   c   st   d }d }zDt dd|d,}|j}||  |  |  |V  W d Q R X W d |d k	r^|  |d k	rnt| X d S )NwF)modedeletesuffix)r	   namewriteflushcloser   )Zcontentr   Zfhpath r   0lib/python3.7/site-packages/conda/common/disk.pytemporary_content_in_file
   s    
r   N)r
   )Z
__future__r   r   r   r   
contextlibr   osr   Z_vendor.auxlib.compatr	   r   r   r   r   r   <module>   s
   