diff --git a/letsencrypt-nginx/letsencrypt_nginx/nginxparser.py b/letsencrypt-nginx/letsencrypt_nginx/nginxparser.py index c9a24aabe10..cef0756d755 100644 --- a/letsencrypt-nginx/letsencrypt_nginx/nginxparser.py +++ b/letsencrypt-nginx/letsencrypt_nginx/nginxparser.py @@ -88,10 +88,6 @@ def __str__(self): """Return the parsed block as a string.""" 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 # (like pyyaml, picker or json)