�
�Udac @ s d d l Z d � Z d S( i����Nc C sP g } | j � } xd t | � D]J \ } } | j � } | j d � rP d } Pq | j d � r d } Pq q Wt d � � | | } xE t t | � � D]% \ } } | j � j | � r� Pq� q� Wt d � � | d k r)| t | � | } x; | D]0 } | j � r� | j d d j | � � Pq� q� Wn | t | � | } d j | � | f S(
sc
Used to filter unrelated output around module JSON output, like messages from
tcagetattr, or where dropbear spews MOTD on every single command (which is nuts).
Filters leading lines before first line-starting occurrence of '{' or '[', and filter all
trailing lines after matching close character (working from the bottom of output).
u {u }u [u ]s No start of json char founds No end of json char foundi s2 Module invocation had junk after the JSON data: %ss
(
t
splitlinest enumeratet stript
startswitht
ValueErrort reversedt endswitht lent appendt join( t datat warningst linest startt linet endchart reverse_end_offsett
trailing_junk( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/json_utils.pyt _filter_non_json_lines s0
( t jsonR ( ( ( sC /usr/lib/python2.7/site-packages/ansible/module_utils/json_utils.pyt <module> s
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]