łň
ÎS{Jc           @   s   d    Z  d d d  Z d S(   c         C   s,   d d k  l } y | |   SWn n Xd  S(   Ni˙˙˙˙(   t   loads(   t
   simplejsonR    t   None(   t   jsonR    (    (    s-   /home/dstn/astrometry/projects/holmes/util.pyt   json2python   s    t    c         C   sÉ   | d } t  |   t j oO | d GHx6 |  i   D]( \ } } | | d Gt | d |  q3 W| d GHnZ t  |   t j o7 | d GHx |  D] } t | | |  q W| d GHn | t |   GHd  S(   Ns     t   {s    = R   t   }t   [t   ](   t   typet   dictt   itemst	   niceprintt   listt   repr(   t   xt
   thisindentt   indentt	   subindentt   kt   v(    (    s-   /home/dstn/astrometry/projects/holmes/util.pyR   
   s    
	 	 N(   R   R   (    (    (    s-   /home/dstn/astrometry/projects/holmes/util.pys   <module>   s   		
