ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/setuptools/command/rotate.pyo
ó
Àfc@s‚ddlmZddlmZddlmZddlZddlZddlm	Z	ddl
mZdefd„ƒYZdS(	iÿÿÿÿ(tconvert_path(tlog(tDistutilsOptionErrorN(tsix(tCommandtrotatecBsDeZdZdZdddgZgZd„Zd„Zd
„ZRS(sDelete older distributionss2delete older distributions, keeping N newest filessmatch=tmspatterns to match (required)s	dist-dir=tds%directory where the distributions areskeep=tks(number of matching distributions to keepcCsd|_d|_d|_dS(N(tNonetmatchtdist_dirtkeep(tself((s=/usr/lib/python2.7/site-packages/setuptools/command/rotate.pytinitialize_optionss		cCsÒ|jdkrtdƒ‚n|jdkr<tdƒ‚nyt|jƒ|_Wntk
rqtdƒ‚nXt|jtjƒr¾g|jj	dƒD]}t
|jƒƒ^qš|_n|jddƒdS(NsQMust specify one or more (comma-separated) match patterns (e.g. '.zip' or '.egg')s$Must specify number of files to keeps--keep must be an integert,tbdistR(RR(
R
R	RRtintt
ValueErrort
isinstanceRtstring_typestsplitRtstriptset_undefined_options(R
tp((s=/usr/lib/python2.7/site-packages/setuptools/command/rotate.pytfinalize_optionss
7cCs1|jdƒddlm}x
|jD]}|jjƒd|}|tjj|j|ƒƒ}g|D]}tjj	|ƒ|f^qi}|j
ƒ|jƒtj
dt|ƒ|ƒ||j}x_|D]W\}}tj
d|ƒ|jsÎtjj|ƒrtj|ƒq%tj|ƒqÎqÎWq'WdS(Ntegg_infoiÿÿÿÿ(tglobt*s%d file(s) matching %ssDeleting %s(trun_commandRR
tdistributiontget_nametostpathtjoinRtgetmtimetsorttreverseRtinfotlenRtdry_runtisdirtshutiltrmtreetunlink(R
Rtpatterntfilestftt((s=/usr/lib/python2.7/site-packages/setuptools/command/rotate.pytrun/s 
+


	(smatch=Rspatterns to match (required)(s	dist-dir=Rs%directory where the distributions are(skeep=Rs(number of matching distributions to keep(	t__name__t
__module__t__doc__tdescriptiontuser_optionstboolean_optionsRRR1(((s=/usr/lib/python2.7/site-packages/setuptools/command/rotate.pyRs			(
tdistutils.utilRt	distutilsRtdistutils.errorsRR R*tsetuptools.externRt
setuptoolsRR(((s=/usr/lib/python2.7/site-packages/setuptools/command/rotate.pyt<module>s