%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/salt/modules/ |
Current File : //usr/lib/python2.7/site-packages/salt/modules/celery.pyo |
� ���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l m Z e j e � Z y* d d l m Z d d l m Z e Z Wn e k r� e Z n Xd � Z d d d d e d e d e e d d � Z d S( u� Support for scheduling celery tasks. The worker is independent of salt and thus can run in a different virtualenv or on a different python version, as long as broker, backend and serializer configurations match. Also note that celery and packages required by the celery broker, e.g. redis must be installed to load the salt celery execution module. .. note:: A new app (and thus new connections) is created for each task execution i ( t absolute_importt print_functiont unicode_literalsN( t SaltInvocationError( t Celery( t TimeoutErrorc C@ s t s t d f St S( u. Only load if celery libraries exist. u? The celery module could not be loaded: celery library not found( t HAS_CELERYt Falset True( ( ( s7 /usr/lib/python2.7/site-packages/salt/modules/celery.pyt __virtual__ s g �?c C@ s� | s t d � � n t d | d | d t � �� } | rL | j j | � n | j � �� | pb g } | pn i } | j | d | d | �} | r� y&