Use dummy value for ancestor

This commit is contained in:
Joona Hoikkala 2019-10-23 23:27:36 +03:00
parent f249f97a76
commit eb437dad84
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C

View file

@ -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)