Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoona Hoikkala <joona@kuori.org>2019-08-16 00:01:40 +0300
committerJoona Hoikkala <joona@kuori.org>2019-08-16 00:01:40 +0300
commit6b41bee0079593302bab7dcec2444cf1a979f38a (patch)
tree070a8ea20d0b4722bc9d0f676c072c097f84cc4c
parent933a21ec3d09e6ea14514fa6909ee60037d714aa (diff)
Bring inheritance back
-rw-r--r--certbot-apache/certbot_apache/interfaces.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/certbot-apache/certbot_apache/interfaces.py b/certbot-apache/certbot_apache/interfaces.py
index a69849ee4..23fe68ba3 100644
--- a/certbot-apache/certbot_apache/interfaces.py
+++ b/certbot-apache/certbot_apache/interfaces.py
@@ -1,3 +1,4 @@
+# pylint: disable=abstract-method
"""ParserNode interface for interacting with configuration tree.
General description
@@ -155,7 +156,7 @@ class ParserNode(object):
@six.add_metaclass(abc.ABCMeta)
-class CommentNode(object):
+class CommentNode(ParserNode):
"""
CommentNode class is used for representation of comments within the parsed
configuration structure. Because of the nature of comments, it is not able
@@ -174,7 +175,7 @@ class CommentNode(object):
@six.add_metaclass(abc.ABCMeta)
-class DirectiveNode(object):
+class DirectiveNode(ParserNode):
"""
DirectiveNode class represents a configuration directive within the configuration.
It can have zero or more parameters attached to it. Because of the nature of
@@ -208,7 +209,7 @@ class DirectiveNode(object):
@six.add_metaclass(abc.ABCMeta)
-class BlockNode(object):
+class BlockNode(ParserNode):
"""
BlockNode class represents a block of nested configuration directives, comments
and other blocks as its children. A BlockNode can have zero or more parameters