mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
pyparsing.restOfLine is not a function, don't call it (#3989)
This commit is contained in:
parent
b0e4054b53
commit
06e07ca49b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue