From eb437dad847e8b074dd388bab5f8a1e5aa208c79 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Wed, 23 Oct 2019 23:27:36 +0300 Subject: [PATCH] Use dummy value for ancestor --- certbot-apache/certbot_apache/augeasparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-apache/certbot_apache/augeasparser.py b/certbot-apache/certbot_apache/augeasparser.py index 0c582275c..8141f0d77 100644 --- a/certbot-apache/certbot_apache/augeasparser.py +++ b/certbot-apache/certbot_apache/augeasparser.py @@ -185,7 +185,7 @@ class AugeasBlockNode(AugeasDirectiveNode): # Because of the dynamic nature, and the fact that we're not populating # the complete ParserNode tree, we use the search parent as ancestor return AugeasCommentNode(comment=comment, - ancestor=self, + ancestor=assertions.PASS, filepath=apache_util.get_file_path(path), metadata=metadata)