ó
ČMc           @   sQ   d  d l  m Z d  d l Td  d l Z e d  Z d   Z d   Z d   Z d S(   i˙˙˙˙(   t   OptionParser(   t   *Ns   smart test [options]c          C   s   t  d t  }  |  S(   Nt   usage(   R    t   USAGE(   t   parser(    (    s:   /usr/lib/python2.7/dist-packages/smart/commands/nothing.pyt   option_parser   s    c         C   s+   t    } | j |   \ } } | | _ | S(   N(   R   t
   parse_argst   args(   t   argvR   t   optsR   (    (    s:   /usr/lib/python2.7/dist-packages/smart/commands/nothing.pyt   parse_options    s    		c         C   sV   |  j    d d  l } |  | _ |  j   | _ y d d  l } Wn t k
 rQ n Xd  S(   Ni˙˙˙˙(   t   reloadChannelst   __main__t   ctrlt   getCachet   cachet   usert   ImportError(   R   R	   R   R   (    (    s:   /usr/lib/python2.7/dist-packages/smart/commands/nothing.pyt   main&   s    
	(	   t   smart.optionR    t   smartt   ret   _R   R   R
   R   (    (    (    s:   /usr/lib/python2.7/dist-packages/smart/commands/nothing.pyt   <module>   s   
		