ó
Ýēk^c           @   s  d  d l  m Z d e f d     YZ d e f d     YZ d e f d     YZ d e f d	     YZ d
 e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ	 d e f d     YZ
 d e f d     YZ d e f d     YZ d S(   iĸĸĸĸ(   t
   CondaErrort   CondaEnvExceptionc           B   s   e  Z d    Z RS(   c         O   s*   d | } t  t |   j | | |  d  S(   Ns   %s(   t   superR   t   __init__(   t   selft   messaget   argst   kwargst   msg(    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s    
(   t   __name__t
   __module__R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s   t   EnvironmentFileNotFoundc           B   s   e  Z d    Z RS(   c         O   s8   d j  |  } | |  _ t t |   j | | |  d  S(   Ns   '{}' file not found(   t   formatt   filenameR   R   R   (   R   R   R   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s    	(   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s   t    EnvironmentFileExtensionNotValidc           B   s   e  Z d    Z RS(   c         O   s8   d j  |  } | |  _ t t |   j | | |  d  S(   Ns<   '{}' file extension must be one of '.txt', '.yaml' or '.yml'(   R   R   R   R   R   (   R   R   R   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s    	(   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s   t	   NoBinstarc           B   s   e  Z d    Z RS(   c         C   s    d } t  t |   j |  d  S(   Ns@   The anaconda-client cli must be installed to perform this action(   R   R   R   (   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR      s   t   AlreadyExistc           B   s   e  Z d    Z RS(   c         C   s    d } t  t |   j |  d  S(   Ns#   The environment path already exists(   R   R   R   (   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   "   s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   !   s   t   EnvironmentAlreadyInNotebookc           B   s   e  Z d    Z RS(   c         O   s&   d } t  t |   j | | |  d  S(   Ns*   The notebook {} already has an environment(   R   R   R   (   R   t   notebookR   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   (   s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   '   s   t   EnvironmentFileDoesNotExistc           B   s   e  Z d    Z RS(   c         O   s8   | |  _  d j |  } t t |   j | | |  d  S(   Ns*   {} does not have an environment definition(   t   handleR   R   R   R   (   R   R   R   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   .   s    	(   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   -   s   t   EnvironmentFileNotDownloadedc           B   s   e  Z d    Z RS(   c         O   sD   d j  | |  } | |  _ | |  _ t t |   j | | |  d  S(   Ns   {}/{} file not downloaded(   R   t   usernamet   packagenameR   R   R   (   R   R   R   R   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   5   s    		(   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   4   s   t   SpecNotFoundc           B   s   e  Z d    Z RS(   c         O   s    t  t |   j | | |  d  S(   N(   R   R   R   (   R   R   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   =   s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   <   s   t   InvalidLoaderc           B   s   e  Z d    Z RS(   c         C   s)   d j  |  } t t |   j |  d  S(   Ns   Unable to load installer for {}(   R   R   R   R   (   R   t   nameR   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   B   s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   A   s   t   NBFormatNotInstalledc           B   s   e  Z d    Z RS(   c         C   s    d } t  t |   j |  d  S(   NsS   nbformat is not installed. Install it with:
        conda install nbformat
        (   R   R   R   (   R   R   (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   H   s    (   R	   R
   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyR   G   s   N(   t   condaR    R   R   R   R   R   R   R   R   R   t	   ExceptionR   R   (    (    (    s3   lib/python2.7/site-packages/conda_env/exceptions.pyt   <module>   s   