From e1f560dca3acde9f10687233eda8e2d7915e68a4 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Tue, 26 Jul 2016 17:23:24 -0700 Subject: [PATCH] Neaten --- certbot-nginx/certbot_nginx/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-nginx/certbot_nginx/parser.py b/certbot-nginx/certbot_nginx/parser.py index 71521110e..9dcee8bef 100644 --- a/certbot-nginx/certbot_nginx/parser.py +++ b/certbot-nginx/certbot_nginx/parser.py @@ -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]: