403Webshell
Server IP : 104.21.4.30  /  Your IP : 172.71.28.134
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.7/dist-packages/apt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/apt/cdrom.pyc
�
&��cc@s�dZddlmZyddlmZWnek
r=nXddlZddlZddlm	Z	dej
fd��YZ
dS(s"Classes related to cdrom handling.i����(tprint_function(tOptionalN(t
CdromProgresstCdromcBsGeZdZdded�Zdd�Zdd�Zed��Z	RS(s;Support for apt-cdrom like features.

    This class has several optional parameters for initialisation, which may
    be used to influence the behaviour of the object:

    The optional parameter `progress` is a CdromProgress() subclass, which will
    ask for the correct cdrom, etc. If not specified or None, a CdromProgress()
    object will be used.

    The optional parameter `mountpoint` may be used to specify an alternative
    mountpoint.

    If the optional parameter `nomount` is True, the cdroms will not be
    mounted. This is the default behaviour.
    cCs�tjj|�|dkr+t�|_n	||_|dk	rVtjjd|�n|rrtjjdd�ntjjdd�dS(NsAcquire::cdrom::mountsAPT::CDROM::NoMountttruetfalse(tapt_pkgRt__init__tNoneRt	_progresstconfigtset(tselftprogresst
mountpointtnomount((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyR5s	cCstjj||p|j�S(sAdd cdrom to the sources.list.(RRtaddR	(RR
((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyREscCstjj||p|j�S(sIdentify the cdrom.(RRtidentR	(RR
((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyRJscCs�|j�}|dkrtStjtjjd�d�}|jtjjd��xZ|D]R}t	|��>}x4|D],}|j
�jd�rw||krwtSqwWWdQXq[WtS(s:Check if the cdrom is already in the current sources.list.sDir::Etc::sourcepartst*sDir::Etc::sourcelistt#N(
RRtFalsetglobRR
tfind_dirtappendt	find_filetopentlstript
startswithtTrue(Rtcd_idtsrctfnametfobjtline((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pytin_sources_listOs

"N(
t__name__t
__module__t__doc__RRRRRtpropertyR"(((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyR$s
(R%t
__future__RttypingRtImportErrorRRtapt.progress.baseRR(((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyt<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit