def renew(config, unused_plugins): """Renew previously-obtained certificates. :param config: Configuration object :type config: interfaces.IConfig :param unused_plugins: List of plugins (deprecated) :type unused_plugins: `list` of `str` :returns: `None` :rtype: None """ try: renewal.handle_renewal_request(config) finally: hooks.run_saved_post_hooks()
def _call(cls, *args, **kwargs): from certbot._internal.hooks import run_saved_post_hooks return run_saved_post_hooks()