%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/salt/modules/ |
Current File : //usr/lib/python2.7/site-packages/salt/modules/temp.pyc |
� ���^c @@ s} d Z d d l m Z m Z m Z d d l Z d d l Z d d l Z e j e � Z d d d d � Z d d d d � Z d S( u� Simple module for creating temporary directories and files This is a thin wrapper around Pythons tempfile module .. versionadded:: 2015.8.0 i ( t absolute_importt unicode_literalst print_functionNu u tmpc C@ s t j | | | � S( u� Create a temporary directory CLI Example: .. code-block:: bash salt '*' temp.dir salt '*' temp.dir prefix='mytemp-' parent='/var/run/' ( t tempfilet mkdtemp( t suffixt prefixt parent( ( s5 /usr/lib/python2.7/site-packages/salt/modules/temp.pyt dir s c C@ s, t j | | | � \ } } t j | � | S( u� Create a temporary file CLI Example: .. code-block:: bash salt '*' temp.file salt '*' temp.file prefix='mytemp-' parent='/var/run/' ( R t mkstempt ost close( R R R t fh_t tmp_( ( s5 /usr/lib/python2.7/site-packages/salt/modules/temp.pyt file! s ( t __doc__t __future__R R R t loggingR R t getLoggert __name__t logt NoneR R ( ( ( s5 /usr/lib/python2.7/site-packages/salt/modules/temp.pyt <module> s