/usr/lib/python2.6/site-packages/boto/gs
NameSizeModeActions
acl.py114570644editdlrm
acl.pyc100490644editdlrm
acl.pyo100490644editdlrm
bucket.py421170644editdlrm
bucket.pyc384560644editdlrm
bucket.pyo384560644editdlrm
bucketlistresultset.py29230644editdlrm
bucketlistresultset.pyc20310644editdlrm
bucketlistresultset.pyo20310644editdlrm
connection.py54780644editdlrm
connection.pyc45190644editdlrm
connection.pyo45190644editdlrm
cors.py77170644editdlrm
cors.pyc41600644editdlrm
cors.pyo40690644editdlrm
key.py427020644editdlrm
key.pyc369990644editdlrm
key.pyo369990644editdlrm
lifecycle.py90860644editdlrm
lifecycle.pyc71960644editdlrm
lifecycle.pyo71960644editdlrm
resumable_upload_handler.py314190644editdlrm
resumable_upload_handler.pyc192320644editdlrm
resumable_upload_handler.pyo192320644editdlrm
user.py19470644editdlrm
user.pyc16510644editdlrm
user.pyo16510644editdlrm
__init__.py10760644editdlrm
__init__.pyc1390644editdlrm
__init__.pyo1390644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyo (7196B)
Ñò Å-õSc@s¤ddklZdZdZdZdZdZdZdZd Z d Z egZ gZ eee e gZ hge6Zdefd „ƒYZd efd „ƒYZdS(iÿÿÿÿ(tInvalidLifecycleConfigErrortLifecycleConfigurationtRuletActiontDeletet ConditiontAget CreatedBeforetNumberOfNewerVersionstIsLivecBsVeZdZdddd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( s A lifecycle rule for a bucket. :ivar action: Action to be taken. :ivar action_params: A dictionary of action specific parameters. Each item in the dictionary represents the name and value of an action parameter. :ivar conditions: A dictionary of conditions that specify when the action should be taken. Each item in the dictionary represents the name and value of a condition. cCs6||_|ph|_|ph|_t|_dS(N(tactiont action_paramst conditionstRULEt current_tag(tselfR R R ((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyt__init__<s cCs1|i|jotd||ifƒ‚ndS(sVerify parent of the start tag.s"Invalid tag %s found inside %s tagN(RR(Rttagtparent((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pytvalidateStartTagDscCs1||ijotd|i|fƒ‚ndS(s%Verify end tag against the start tag.s%Mismatched start and end tags (%s/%s)N(RR(RR((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pytvalidateEndTagJscCsT|tjo|i|tƒn'|tjo=|i|tƒ|idj otdƒ‚n||_nÝ|tjoY|itjotd|ƒ‚n|t |ijotd||ifƒ‚qGnw|t jo|i|tƒnV|t jo8|i|t ƒ||i jotd|ƒ‚qGntd|ƒ‚||_dS(Ns+Only one action tag is allowed in each rulesTag %s found outside of actionsTag %s not allowed in action %ssFound duplicate conditions %ssUnsupported tag ( tACTIONRR t LEGAL_ACTIONSR tNoneRtLEGAL_ACTION_PARAMSRtLEGAL_ACTION_ACTION_PARAMSt CONDITIONtLEGAL_CONDITIONSR (Rtnametattrst connection((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyt startElementQs0       cCsç|i|ƒ|tjo|iƒn¼|tjo t|_n¢|tjo t|_nˆ|tjo#|i|_|iƒ|i ||t jo t |_|iƒ|i |s(R RR R RRRR (Rtstparamt condition((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pytto_xmls* ..N( t__name__t __module__t__doc__RRRRRR#R R)(((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyR.s      tLifecycleConfigcBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(sI A container of rules associated with a lifecycle configuration. cCs t|_dS(N(tFalset has_root_tag(R((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyR¬scCsŽ|tjo'|iotdƒ‚nt|_nW|tjo9|iptd|ƒ‚ntƒ}|i|ƒ|Std|ƒ‚dS(Ns'Only one root tag is allowed in the XMLsInvalid root tag sUnsupported tag (tLIFECYCLE_CONFIGR/RtTrueR Rtappend(RRRRtrule((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyR°s        cCs%|tjontd|ƒ‚dS(NsUnsupported end tag (R0R(RRR"R((s5/usr/lib/python2.6/site-packages/boto/gs/lifecycle.pyR#¿s cCsOd}|dtd7}x|D]}||iƒ7}qW|dtd7}|S(s>Convert LifecycleConfig object into XML string representation.s&R$R%ss   y