/usr/lib/python2.6/site-packages/openstackclient/identity/v2_0
Edit: /usr/lib/python2.6/site-packages/openstackclient/identity/v2_0/project.pyc (8634B)
Ñò
;vVc @ s d Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d d k
l Z d d k
l Z d d k
l Z d
e i f d „ ƒ YZ d e i f d
„ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s* Identity v2 Project action implementationsiÿÿÿÿN( t command( t lister( t show( t
exceptions( t
parseractions( t utils( t _t
CreateProjectc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Create new projects .CreateProjectc C së t t | ƒ i | ƒ } | i d d d d t d ƒ ƒ| i d d d d t d ƒ ƒ| i ƒ } | i d d
d d t d ƒ ƒ| i d
d
d d t d ƒ ƒ| i d d d d
t i d t d ƒ ƒ| i d d
d d t d ƒ ƒ| S( Nt namet metavars
t helps New project names
--descriptions
s Project descriptions --enablet actiont
store_trues Enable project (default)s --disables Disable projects
--propertys sC Add a property to (repeat option to set multiple properties)s --or-shows Return existing project( t superR t
get_parsert add_argumentR t add_mutually_exclusive_groupR t KeyValueAction( t selft prog_namet parsert enable_group( ( sU /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/v2_0/project.pyR $ s8
c
C s | i i i } t } | i o
t } n h } | i o | i i ƒ } n y+ | i i | i
d | i d | | } WnZ t i
j
oK } | i o2 t i | i | i
ƒ } | i i d | i
ƒ qÔ | ‚ n X| i i d d ƒ t t t i | i ƒ ƒ Œ S( Nt descriptiont enableds Returning existing project %st parent_id( t appt client_managert identityt Truet disablet Falset propertyt copyt tenantst createR R t ksc_exct Conflictt or_showR t
find_resourcet logt infot _infot popt Nonet zipt sortedt sixt iteritems( R t parsed_argst identity_clientR t kwargst projectt e( ( sU /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/v2_0/project.pyt take_actionI s,
(
t __name__t
__module__t __doc__t loggingt getLoggerR' R R t
log_methodR5 ( ( ( sU /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/v2_0/project.pyR s %t
DeleteProjectc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Delete project(s)s .DeleteProjectc C sA t t | ƒ i | ƒ } | i d d d d d d t d ƒ ƒ| S( Nt projectsR s t nargst +R
s! Project(s) to delete (name or ID)( R
R<