Make string format tuple an actual tuple

This commit is contained in:
David Baker 2015-01-23 13:25:58 +00:00
parent 98e1080555
commit d3e72b4d87

View File

@ -102,7 +102,7 @@ class PushRuleRestServlet(RestServlet):
'pattern': req_obj['pattern']
}]
else:
raise InvalidRuleException("Unknown rule template: %s" % (rule_template))
raise InvalidRuleException("Unknown rule template: %s" % (rule_template,))
if device:
conditions.append({