mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Hide .spaced from users outside nginxparser.py
This commit is contained in:
parent
4f46289c1b
commit
2cbd680bd5
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue