mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Hide .spaced from users outside nginxparser.py
This commit is contained in:
@@ -139,7 +139,7 @@ def dumps(blocks):
|
||||
:rtype: str
|
||||
|
||||
"""
|
||||
return str(RawNginxDumper(blocks))
|
||||
return str(RawNginxDumper(blocks.spaced))
|
||||
|
||||
|
||||
def dump(blocks, _file):
|
||||
|
||||
@@ -210,7 +210,7 @@ class NginxParser(object):
|
||||
|
||||
"""
|
||||
for filename in self.parsed:
|
||||
tree = self.parsed[filename].spaced
|
||||
tree = self.parsed[filename]
|
||||
if ext:
|
||||
filename = filename + os.path.extsep + ext
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user