
    =e-                     Z    d Z ddlZddlmZ ddlmZmZ  ej        d          Zd Z	d Z
dS )z
Log out from binstar
    N)errors)get_server_apiremove_tokenzbinstar.logoutc                 l   t          | j        | j                  }|j        rx	 |                                 n7# t          j        $ r%}t                              d|           Y d }~nd }~ww xY wt          |            t          	                    d           d S t          	                    d           d S )Nz;The token that you are trying to remove may not be valid %szlogout successfulzYou are not logged in)
r   tokensiteremove_authenticationr   Unauthorizedloggerdebugr   info)argsaserver_apierrs      >lib/python3.11/site-packages/binstar_client/commands/logout.pymainr      s     TY77K -	]--////" 	] 	] 	]LLVX[\\\\\\\\	] 	T'(((((+,,,,,s   8 A,A''A,c                 v    |                      ddt                    }|                    t                     d S )Nlogoutz%Log out from your Anaconda repository)helpdescription)r   )
add_parser__doc__set_defaultsr   )
subparsers	subparsers     r   r   r      sC    %%h+R29 & ; ;I %%%%%    )r   loggingbinstar_clientr   binstar_client.utilsr   r   	getLoggerr   r   r    r   r   <module>r"      s      ! ! ! ! ! ! = = = = = = = =		+	,	,- - - & & & & &r   