Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/certbot/_internal/ |
| [Home] [System Details] [Kill Me] |
�
���_c@s�dZddlZddlmZddlmZddlmZddlj j
Z
eje�Z
d�Zd�Zd�Zd �Zd
�ZdS(sUpdaters run at renewali����N(terrors(t
interfaces(t selectioncCs�|jrtjd�dSytj||�}Wn'tjk
rY}tjd|�dSX|r�t|||�t |||�ndS(s@Run updaters
that the plugin supports
:param config: Configuration object
:type config: interfaces.IConfig
:param lineage: Certificate lineage object
:type lineage: storage.RenewableCert
:param plugins: List of plugins
:type plugins: `list` of `str`
:returns: `None`
:rtype: None
s"Skipping updaters in dry-run mode.Ns4Could not choose
appropriate plugin for updaters: %s(
tdry_runtloggertdebugtplug_seltget_unprepared_installerRtErrortwarningt
_run_updaterst_run_enhancement_updaters(tconfigtlineagetpluginst installerte((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pytrun_generic_updaterss
cCsZ|jrtjd�dS|jrFt|tj�rF|j|�nt|||�dS(s�Helper
function to run deployer interface method if supported by the used
installer plugin.
:param config: Configuration object
:type config: interfaces.IConfig
:param lineage: Certificate lineage object
:type lineage: storage.RenewableCert
:param installer: Installer object
:type installer: interfaces.IInstaller
:returns: `None`
:rtype: None
s*Skipping renewal deployer in dry-run
mode.N( RRRtdisable_renew_updatest
isinstanceRt
RenewDeployertrenew_deployt_run_enhancement_deployers(RR
R((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pytrun_renewal_deployer&s
cCs2|js.t|tj�r.|j|�q.ndS(s;Helper
function to run the updater interface methods if supported by the
used installer plugin.
:param lineage: Certificate lineage object
:type lineage: storage.RenewableCert
:param installer: Installer object
:type installer: interfaces.IInstaller
:returns: `None`
:rtype: None
N(RRRtGenericUpdatertgeneric_updates(R
RR((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pyR
?s
cCs\|jr
dSxHtjD]=}t||d�r|drt||d�|�qqWdS(s�Iterates
through known enhancement interfaces. If the installer implements
an enhancement interface and the enhance interface has an updater
method, the
updater method gets run.
:param lineage: Certificate lineage object
:type lineage: storage.RenewableCert
:param installer: Installer object
:type installer: interfaces.IInstaller
:param config: Configuration object
:type config: interfaces.IConfig
Ntclasstupdater_function(Rtenhancementst_INDEXRtgetattr(R
RRtenh((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pyRPs
cCs\|jr
dSxHtjD]=}t||d�r|drt||d�|�qqWdS(s�Iterates
through known enhancement interfaces. If the installer implements
an enhancement interface and the enhance interface has an deployer
method, the
deployer method gets run.
:param lineage: Certificate lineage object
:type lineage: storage.RenewableCert
:param installer: Installer object
:type installer: interfaces.IInstaller
:param config: Configuration object
:type config: interfaces.IConfig
NRtdeployer_function(RRRRR(R
RRR((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pyRfs
(t__doc__tloggingtcertbotRRtcertbot._internal.pluginsRRtcertbot.plugins.enhancementsRRt getLoggert__name__RRRR
RR(((s=/usr/lib/python2.7/site-packages/certbot/_internal/updater.pyt<module>s