Ah, the comma of doom.

pull/35/head
David Baker 2015-01-28 14:27:01 +00:00
parent 6741c3dbd9
commit d93ce29a86
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
if pat.strip("*?[]") == pat:
# no special glob characters so we assume the user means
# 'contains this string' rather than 'is this string'
pat = "*%s*" % (pat)
pat = "*%s*" % (pat,)
conditions = [{
'kind': 'event_match',
'key': 'content.body',