mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Be more succinct
This commit is contained in:
@@ -86,8 +86,7 @@ class RawNginxDumper(object):
|
||||
if isinstance(key, list):
|
||||
yield "".join(key) + '{'
|
||||
for parameter in values:
|
||||
dumped = self.__iter__([parameter])
|
||||
for line in dumped:
|
||||
for line in self.__iter__([parameter]): # negate "for b0 in blocks"
|
||||
yield line
|
||||
yield '}'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user