diff options
author | Ondřej Surý <ondrej@sury.org> | 2017-01-10 05:29:02 +0300 |
---|---|---|
committer | Peter Eckersley <pde@users.noreply.github.com> | 2017-01-10 05:29:02 +0300 |
commit | 06e07ca49bd891dd2387cdb3a1df60e7cad42342 (patch) | |
tree | 8e10d5f3c08643834b5017af2b1cbe00c02827f2 /certbot-nginx | |
parent | b0e4054b53232b512c0796d4e6aae67cc41b9476 (diff) |
pyparsing.restOfLine is not a function, don't call it (#3989)
Diffstat (limited to 'certbot-nginx')
-rw-r--r-- | certbot-nginx/certbot_nginx/nginxparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/certbot-nginx/certbot_nginx/nginxparser.py b/certbot-nginx/certbot_nginx/nginxparser.py index 6f2a3ec70..2cbd0b86a 100644 --- a/certbot-nginx/certbot_nginx/nginxparser.py +++ b/certbot-nginx/certbot_nginx/nginxparser.py @@ -43,7 +43,7 @@ class RawNginxParser(object): modifier = Literal("=") | Literal("~*") | Literal("~") | Literal("^~") # rules - comment = space + Literal('#') + restOfLine() + comment = space + Literal('#') + restOfLine assignment = space + key + Optional(space + value, default=None) + semicolon location_statement = space + Optional(modifier) + Optional(space + location + space) |