mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
cosmetic improvements
This commit is contained in:
parent
fdbb69930b
commit
184f54cbc7
1 changed files with 3 additions and 2 deletions
|
|
@ -41,7 +41,8 @@ class RawNginxParser(object):
|
|||
block = Forward()
|
||||
|
||||
block << Group(
|
||||
# key could for instance be "server" or "http"
|
||||
# key could for instance be "server" or "http", or "location" (in which case
|
||||
# location_statement needs to have a non-empty location)
|
||||
(Group(space + key + location_statement) ^ Group(if_statement) ^
|
||||
Group(map_statement)).leaveWhitespace() +
|
||||
left_bracket +
|
||||
|
|
@ -213,7 +214,7 @@ class UnspacedList(list):
|
|||
l.extend(other)
|
||||
return l
|
||||
|
||||
def pop(self, _i=0):
|
||||
def pop(self, _i=None):
|
||||
raise NotImplementedError("UnspacedList.pop() not yet implemented")
|
||||
def remove(self, _):
|
||||
raise NotImplementedError("UnspacedList.remove() not yet implemented")
|
||||
|
|
|
|||
Loading…
Reference in a new issue