diff --git a/certbot-apache/certbot_apache/interfaces.py b/certbot-apache/certbot_apache/interfaces.py index 23fe68ba3..08b226349 100644 --- a/certbot-apache/certbot_apache/interfaces.py +++ b/certbot-apache/certbot_apache/interfaces.py @@ -1,4 +1,3 @@ -# pylint: disable=abstract-method """ParserNode interface for interacting with configuration tree. General description @@ -128,15 +127,6 @@ class ParserNode(object): filepath: str """ - @abc.abstractmethod - def metadata(self, key): - """ - Gets an element from the metadata dictionary for this ParserNode object. - - :param str key: Element key name - :returns: Requested metadata element - """ - @abc.abstractmethod def save(self, msg): """ @@ -154,7 +144,8 @@ class ParserNode(object): """ - +# Linter rule exclusion done because of https://github.com/PyCQA/pylint/issues/179 +# pylint: disable=abstract-method @six.add_metaclass(abc.ABCMeta) class CommentNode(ParserNode): """