Repository URL to install this package:
| 
      
        
        
        Version: 
        
         
          
          3.4.51  ▾
        
         | 
ó
·EYc           @   sB   d  d l  Z  d  d l m Z d  d l m Z d d d d  Z d S(   iÿÿÿÿN(   t   importutils(   t   utilsc   
      O   sö   | r[ | r= | j  d |  |  s= t j |  \ } }  q= n  |  s¶ d } t |   q¶ n[ |  d	 k	 rz t j d t  n  t j |  \ } } |  p | }  |  s¶ d } t |   n  t j	 d t
 |   d  } t | d  }	 |	 | d | | | S(
   s@  Client for the OpenStack Images API.
    Generic client for the OpenStack Images API. See version classes
    for specific details.
    :param string version: The version of API to use.
    :param session: A keystoneauth1 session that should be used for transport.
    :type session: keystoneauth1.session.Session
    t   endpoint_overrides4   You must provide a client version when using sessionsv   `version` keyword is being deprecated. Please pass the version as part of the URL. http://$HOST:$PORT/v$VERSION_NUMBERs]   Please provide either the version or an url with the form http://$HOST:$PORT/v$VERSION_NUMBERt   glanceclientt   clientt   Clientt   sessionN(   t
   setdefaultR   t
   strip_versiont   RuntimeErrort   Nonet   warningst   warnt   DeprecationWarningR    t   import_versioned_modulet   intt   getattr(
   t   versiont   endpointR   t   argst   kwargst   __t   msgt   url_versiont   modulet   client_class(    (    sH   /home/tvault/.virtenv/lib/python2.7/site-packages/glanceclient/client.pyR      s(    	
	(   R   t
   oslo_utilsR    t   glanceclient.commonR   R
   R   (    (    (    sH   /home/tvault/.virtenv/lib/python2.7/site-packages/glanceclient/client.pyt   <module>   s