403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
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
ó
WâRc@s[dZddlZddlZddlmZddlmZdejfd„ƒYZdS(s"Classes related to cdrom handling.iÿÿÿÿN(tAttributeDeprecatedBy(t
CdromProgresstCdromcBs_eZdZdded„Zdd„Zdd„Zed„ƒZ	e
jr]edƒZ
nRS(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.pyR/s	cCstjj||p|jƒS(sAdd cdrom to the sources.list.(RRtaddR(RR((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyR>scCstjj||p|jƒS(sIdentify the cdrom.(RRtidentR(RR((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyRBsc	Csµ|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(Rtcd_idtsrctfnametfobjtline((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pytin_sources_listFs

"R!N(t__name__t
__module__t__doc__RRRRRtpropertyR!Rt_COMPAT_0_7Rt
inSourcesList(((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyRs	(R$RRtapt.deprecationRtapt.progress.baseRR(((s-/usr/lib/python2.7/dist-packages/apt/cdrom.pyt<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit