Skip to content
Snippets Groups Projects
Commit d93ce29a authored by David Baker's avatar David Baker
Browse files

Ah, the comma of doom.

parent 6741c3db
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ class PushRuleRestServlet(ClientV1RestServlet): ...@@ -101,7 +101,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
if pat.strip("*?[]") == pat: if pat.strip("*?[]") == pat:
# no special glob characters so we assume the user means # no special glob characters so we assume the user means
# 'contains this string' rather than 'is this string' # 'contains this string' rather than 'is this string'
pat = "*%s*" % (pat) pat = "*%s*" % (pat,)
conditions = [{ conditions = [{
'kind': 'event_match', 'kind': 'event_match',
'key': 'content.body', 'key': 'content.body',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment