mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Remove as_string as per request.
This commit is contained in:
@@ -88,10 +88,6 @@ class RawNginxDumper(object):
|
|||||||
"""Return the parsed block as a string."""
|
"""Return the parsed block as a string."""
|
||||||
return '\n'.join(self) + '\n'
|
return '\n'.join(self) + '\n'
|
||||||
|
|
||||||
def as_string(self):
|
|
||||||
"""Return the parsed block as a string."""
|
|
||||||
return str(self)
|
|
||||||
|
|
||||||
|
|
||||||
# Shortcut functions to respect Python's serialization interface
|
# Shortcut functions to respect Python's serialization interface
|
||||||
# (like pyyaml, picker or json)
|
# (like pyyaml, picker or json)
|
||||||
|
|||||||
Reference in New Issue
Block a user