mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Fix linter errors
This commit is contained in:
parent
948de4a16a
commit
69364f65d3
2 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue