�
�Udac @` sZ d d l m Z m Z m Z e Z d d l Z d d l Z d d l m Z d d � Z
d S( i ( t absolute_importt divisiont print_functionN( t to_nativesl This module has been removed. The module documentation for Ansible-%(version)s may contain hints for portingc C` s� i t d 6} t | � } | j d � } y t | d � } Wn t k
rU d } n1 X| d } | j t | d � � d j | � } | d k r� d g | d <d | d <n | i | d 6| d <t d
j t
j | � � � t j
d � d S( s,
Returns module failure along with a message about the module being removed
:arg removed_in: The version that the module was removed in
:kwarg msg: Message to use in the module's failure message. The default says that the module
has been removed and what version of the Ansible documentation to search for porting help.
Remove the actual code and instead have boilerplate like this::
from ansible.module_utils.common.removed import removed_module
if __name__ == '__main__':
removed_module("2.4")
t failedt .i����i s? removed modules should specify the version they were removed int warningss This module has been removedt msgt versions
{0}
N( t TrueR t splitt intt Exceptiont Nonet appendt joint printt formatt jsont dumpst syst exit( t
removed_inR t resultsR t
numeric_minort last_version( ( sG /usr/lib/python2.7/site-packages/ansible/module_utils/common/removed.pyt removed_module s
( t
__future__R R R t typet
__metaclass__R R t ansible.module_utils._textR R ( ( ( sG /usr/lib/python2.7/site-packages/ansible/module_utils/common/removed.pyt <module> s
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]