Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pyc

ó
ĄôXc@s]ddlmZddlmZddlmZddlmZdeefd„ƒYZdS(iĸĸĸĸ(t	S3Request(tArg(tTabifyingMixin(tparse_listdelimited_aws_xmltListAllMyBucketscBszeZdZedddddddddƒed	dd
ddddddƒgZd„Zd
„Zd„Zd„Z	RS(s&List all buckets owned by your accounts-ltdesttlong_outputtactiont
store_truetroute_tothelpsGlist in long format, with creation dates and owner
                infos-ntnumeric_outputsidisplay account IDs numerically in long
                (-l) output.  This option turns on the -l option.cCs.tj|ƒ|jdr*t|jd<ndS(NRR(Rt	configuretargstTrue(tself((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pyR)s

cCsd|_d|_dS(NtGETt(tmethodtpath(R((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pyt
preprocess.s	cCs |j|tddƒ}|dS(Nt	list_tagstBucketstListAllMyBucketsResult(R(tlog_and_parse_responseR(Rtresponset
response_dict((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pytparse_response2scCsū|jdsd|dkr;|jdiƒjdƒ}n|jdiƒjdƒ}xa|jdgƒD]M}|jdrĻ|j||jdƒ|jdƒfƒGHqi|jdƒGHqiWdS(	NRtDisplayNametOwnertIDRRtCreationDatetName(R
tgetttabify(Rtresulttownertbucket((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pytprint_result7s
N(
t__name__t
__module__tDESCRIPTIONRtNonetARGSRRRR&(((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pyR s			N(	teuca2ools.commands.s3RtrequestbuilderRtrequestbuilder.mixinsRtrequestbuilder.xmlparseRR(((sJ/usr/lib/python2.7/site-packages/euca2ools/commands/s3/listallmybuckets.pyt<module>s
Back to Directory File Manager