diff options
author | David Baker <dave@matrix.org> | 2015-01-23 13:25:58 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-01-23 13:25:58 +0000 |
commit | d3e72b4d8788e64cd4b1d9668382639476730b4d (patch) | |
tree | 2a56c893ee108acd34b3fbca0ca61998f8a259a2 /synapse/rest/client/v1/push_rule.py | |
parent | redundant parens (diff) | |
download | synapse-d3e72b4d8788e64cd4b1d9668382639476730b4d.tar.xz |
Make string format tuple an actual tuple
Diffstat (limited to 'synapse/rest/client/v1/push_rule.py')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index 46b8c3f625..35ffcba3df 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -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({ |