Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2017-01-10 05:29:02 +0300
committerPeter Eckersley <pde@users.noreply.github.com>2017-01-10 05:29:02 +0300
commit06e07ca49bd891dd2387cdb3a1df60e7cad42342 (patch)
tree8e10d5f3c08643834b5017af2b1cbe00c02827f2 /certbot-nginx
parentb0e4054b53232b512c0796d4e6aae67cc41b9476 (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.py2
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)