%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/salt/output/ |
Current File : //usr/lib/python2.7/site-packages/salt/output/pprint_out.pyc |
� ���^c @@ sZ d Z d d l m Z m Z m Z d d l Z d d l m Z d Z d � Z d � Z d S( u� Python pretty-print (pprint) ============================ The python pretty-print system was once the default outputter. It simply passes the return data through to ``pprint.pformat`` and prints the results. Example output:: {'saltmine': {'foo': {'bar': 'baz', 'dictionary': {'abc': 123, 'def': 456}, 'list': ['Hello', 'World']}}} i ( t absolute_importt print_functiont unicode_literalsN( t sixu pprintc C@ s t S( u# Change the name to pprint ( t __virtualname__( ( ( s: /usr/lib/python2.7/site-packages/salt/output/pprint_out.pyt __virtual__ s c K@ sa t | t � r! t j | � } n d t k rT t d d k rT t j | d t d �St j | � S( u$ Print out via pretty print u output_indenti t indent( t isinstancet ExceptionR t text_typet __opts__t pprintt pformat( t datat kwargs( ( s: /usr/lib/python2.7/site-packages/salt/output/pprint_out.pyt output"