How to use the certbot-nginx.certbot_nginx.nginx_parser_obj.NginxParseContext function in certbot-nginx

To help you get started, we’ve selected a few certbot-nginx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github certbot / certbot / certbot-nginx / certbot_nginx / nginx_parser_obj.py View on Github external
def __init__(self, parent=None, filename=None, cwd=None, parsed_files=None):
        super(NginxParseContext, self).__init__(parent, filename, cwd)
        self.parsed_files = parsed_files if parsed_files else {}
github certbot / certbot / certbot-nginx / certbot_nginx / nginx_parser_obj.py View on Github external
def child(self, parent, filename=None):
        return NginxParseContext(parent,filename if filename else self.filename,
            self.cwd, self.parsed_files)