From 3d811a784dba6f6a13fb773e35efc79a9aa0f867 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Tue, 2 Apr 2019 16:00:33 +0300 Subject: [PATCH] Add pydoc return value to create_ifmod --- certbot-apache/certbot_apache/parser.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/certbot-apache/certbot_apache/parser.py b/certbot-apache/certbot_apache/parser.py index abd0cd879..b025396ad 100644 --- a/certbot-apache/certbot_apache/parser.py +++ b/certbot-apache/certbot_apache/parser.py @@ -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)