mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 14:54:24 -04:00
Merge branch 'parserinterfaces_2' of github.com:certbot/certbot into parserinterfaces_2
This commit is contained in:
commit
6b9806cb75
2 changed files with 3 additions and 3 deletions
|
|
@ -234,7 +234,7 @@ class DirectiveNode(ParserNode):
|
|||
:param tuple parameters: Tuple of str parameters for this DirectiveNode.
|
||||
Default: ().
|
||||
:param ancestor: BlockNode ancestor for this DirectiveNode, or None for
|
||||
root configuratio node. Required.
|
||||
root configuration node. Required.
|
||||
:param filepath: Filesystem path for the file where this DirectiveNode
|
||||
does or should exist in the filesystem, or None for directives introduced
|
||||
in the httpd command line. Required.
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ def commentnode_kwargs(kwargs):
|
|||
|
||||
:param dict kwargs: Keyword argument dictionary to validate.
|
||||
|
||||
:returns: Tuple of validated and prepared arguments and the remaining kwargs.
|
||||
:returns: Tuple of validated and prepared arguments and ParserNode kwargs.
|
||||
"""
|
||||
kwargs.setdefault("dirty", False)
|
||||
kwargs = validate_kwargs(kwargs, ["ancestor", "dirty", "filepath", "comment"])
|
||||
|
|
@ -61,7 +61,7 @@ def node_kwargs(kwargs):
|
|||
|
||||
:param dict kwargs: Keyword argument dictionary to validate.
|
||||
|
||||
:returns: Tuple of validated and prepared arguments.
|
||||
:returns: Tuple of validated and prepared arguments and ParserNode kwargs.
|
||||
"""
|
||||
kwargs.setdefault("dirty", False)
|
||||
kwargs.setdefault("enabled", True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue