diff --git a/certbot-apache/certbot_apache/parser.py b/certbot-apache/certbot_apache/parser.py index 372cd4ac1..6a33018b6 100644 --- a/certbot-apache/certbot_apache/parser.py +++ b/certbot-apache/certbot_apache/parser.py @@ -729,7 +729,7 @@ class ApacheParser(object): def _fix_path(self, old, new): """Helper function to add index to Augeas path if required""" - index_re = "\[\d*\]" + index_re = r"\[\d*\]" if old == new: return old if re.search(index_re, old): diff --git a/certbot-apache/certbot_apache/tests/parser_test.py b/certbot-apache/certbot_apache/tests/parser_test.py index 9faf18c06..7574ec84d 100644 --- a/certbot-apache/certbot_apache/tests/parser_test.py +++ b/certbot-apache/certbot_apache/tests/parser_test.py @@ -12,6 +12,7 @@ from certbot_apache.tests import util class BasicParserTest(util.ParserTest): + # pylint: disable=too-many-public-methods """Apache Parser Test.""" def setUp(self): # pylint: disable=arguments-differ