mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Add pydoc return value to create_ifmod
This commit is contained in:
parent
794c1dc13f
commit
3d811a784d
1 changed files with 4 additions and 0 deletions
|
|
@ -322,6 +322,10 @@ class ApacheParser(object):
|
|||
:param bool beginning: If the IfModule should be created to the beginning
|
||||
of augeas path DOM tree.
|
||||
|
||||
:returns: Augeas path of the newly created IfModule directive.
|
||||
The path may be dynamic, i.e. .../IfModule[last()]
|
||||
:rtype: str
|
||||
|
||||
"""
|
||||
if beginning:
|
||||
c_path_arg = "{}/IfModule[1]/arg".format(aug_conf_path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue