plugin.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:certbot-external-auth 作者: EnigmaBridge 项目源码 文件源码
def _cleanup_http01_challenge(self, achall):
        # pylint: disable=missing-docstring,unused-argument
        if self.conf("test-mode"):
            assert self._httpd is not None, (
                "cleanup() must be called after perform()")
            if self._httpd.poll() is None:
                logger.debug("Terminating manual command process")
                os.killpg(self._httpd.pid, signal.SIGTERM)
            else:
                logger.debug("Manual command process already terminated "
                             "with %s code", self._httpd.returncode)
            shutil.rmtree(self._root)

    #
    # Installer section
    #
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号