mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
delint
This commit is contained in:
parent
4eb38fe167
commit
1060ea7c3d
2 changed files with 3 additions and 3 deletions
|
|
@ -532,8 +532,8 @@ def _comment_directive(block, location):
|
|||
if len(block) > location + 1: # there is a block after us
|
||||
next_entry = block[location + 1]
|
||||
else:
|
||||
# we're at the end of the block, pretend there's a newline after us; it will actually be added later in
|
||||
# add_directives
|
||||
# we're at the end of the block, pretend there's a newline after us; it
|
||||
# will actually be added later in add_directives
|
||||
next_entry = "\n"
|
||||
if isinstance(next_entry, list):
|
||||
if "Certbot" in next_entry[-1]:
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ class NginxConfiguratorTest(util.NginxTest):
|
|||
['index', 'index.html index.htm']]],
|
||||
['listen', '5001 ssl'],
|
||||
['ssl_certificate', '/etc/nginx/fullchain.pem'],
|
||||
['ssl_certificate_key', '/etc/nginx/key.pem']]+
|
||||
['ssl_certificate_key', '/etc/nginx/key.pem']] +
|
||||
util.filter_comments(self.config.parser.loc["ssl_options"])
|
||||
],
|
||||
2))
|
||||
|
|
|
|||
Loading…
Reference in a new issue