mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Lint & test fix
This commit is contained in:
parent
ba0a0e9c26
commit
b2c36f8527
2 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ class UnspacedList(list):
|
|||
self.spaced.__delitem__(i + self._spaces_before(i))
|
||||
list.__delitem__(self, i)
|
||||
|
||||
def __deepcopy__(self, memo):
|
||||
def __deepcopy__(self, unused_memo):
|
||||
l = UnspacedList(self[:])
|
||||
l.spaced = copy.deepcopy(self.spaced)
|
||||
return l
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ class NginxParserTest(util.NginxTest):
|
|||
nparser.add_server_directives(nparser.abs_path('nginx.conf'),
|
||||
set(['localhost',
|
||||
r'~^(www\.)?(example|bar)\.']),
|
||||
[['foo', 'bar'], ['ssl_certificate',
|
||||
[['foo', 'bar'], ['\n ', 'ssl_certificate', ' ',
|
||||
'/etc/ssl/cert.pem']],
|
||||
replace=False)
|
||||
ssl_re = re.compile(r'\n\s+ssl_certificate /etc/ssl/cert.pem')
|
||||
|
|
|
|||
Loading…
Reference in a new issue