Fix linter errors

This commit is contained in:
Joona Hoikkala 2018-07-24 16:57:29 +03:00
parent 948de4a16a
commit 69364f65d3
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C
2 changed files with 2 additions and 1 deletions

View file

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

View file

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