mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
fix docstring
This commit is contained in:
parent
74fd4fe794
commit
936644cde5
1 changed files with 6 additions and 2 deletions
|
|
@ -3,11 +3,13 @@ from __future__ import print_function
|
|||
|
||||
import logging
|
||||
|
||||
from typing import Optional, Tuple
|
||||
import six
|
||||
import zope.component
|
||||
|
||||
from certbot import errors
|
||||
from certbot import interfaces
|
||||
from certbot._internal.plugins import disco
|
||||
from certbot.compat import os
|
||||
from certbot.display import util as display_util
|
||||
|
||||
|
|
@ -175,7 +177,9 @@ def record_chosen_plugins(config, plugins, auth, inst):
|
|||
config.authenticator, config.installer)
|
||||
|
||||
|
||||
def choose_configurator_plugins(config, plugins, verb):
|
||||
def choose_configurator_plugins(config: interfaces.IConfig, plugins: disco.PluginsRegistry,
|
||||
verb: str) -> Tuple[Optional[interfaces.IInstaller],
|
||||
Optional[interfaces.IAuthenticator]]:
|
||||
"""
|
||||
Figure out which configurator we're going to use, modifies
|
||||
config.authenticator and config.installer strings to reflect that choice if
|
||||
|
|
@ -183,7 +187,7 @@ def choose_configurator_plugins(config, plugins, verb):
|
|||
|
||||
:raises errors.PluginSelectionError if there was a problem
|
||||
|
||||
:returns: (an `IAuthenticator` or None, an `IInstaller` or None)
|
||||
:returns: tuple of (`IInstaller` or None, `IAuthenticator` or None)
|
||||
:rtype: tuple
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue