mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Lint & test fix
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user