/usr/lib/python2.6/site-packages/cliff/formatters
Edit: /usr/lib/python2.6/site-packages/cliff/formatters/json_format.pyc (1668B)
Ñò
yDVc @ sE d Z d d k Z d d k l Z l Z d e e f d „ ƒ YZ d S( s Output formatters for JSON.
iÿÿÿÿNi ( t
ListFormattert SingleFormattert
JSONFormatterc B s# e Z d „ Z d „ Z d „ Z RS( c C s5 | i d d ƒ } | i d d d d d d d ƒd S(
Nt titles json formatters
--noindentt actiont
store_truet destt noindentt helps% whether to disable indenting the JSON( t add_argument_groupt add_argument( t selft parsert group( ( s; /tmp/pip-build-lt8jXN/cliff/cliff/formatters/json_format.pyR s c C sd g } x* | D]" } | i t t | | ƒ ƒ ƒ q
W| i o d n d } t i | | d | ƒd S( Ni t indent( t appendt dictt zipR t Nonet jsont dump( R t column_namest datat stdoutt parsed_argst itemst itemR ( ( s; /tmp/pip-build-lt8jXN/cliff/cliff/formatters/json_format.pyt emit_list s c C sF t t | | ƒ ƒ } | i o d n d } t i | | d | ƒd S( Ni R ( R R R R R R ( R R R R R t oneR ( ( s; /tmp/pip-build-lt8jXN/cliff/cliff/formatters/json_format.pyt emit_one s ( t __name__t
__module__R R R ( ( ( s; /tmp/pip-build-lt8jXN/cliff/cliff/formatters/json_format.pyR s ( t __doc__R t baseR R R ( ( ( s; /tmp/pip-build-lt8jXN/cliff/cliff/formatters/json_format.pyt
s