mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
pyparsing.restOfLine is not a function, don't call it (#3989)
This commit is contained in:
committed by
Peter Eckersley
parent
b0e4054b53
commit
06e07ca49b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user