summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-28 14:49:59 +0000
committerDavid Baker <dave@matrix.org>2015-01-28 14:49:59 +0000
commit445ad9941ea2e4038846aa6fed456e3250ae49b1 (patch)
treeaa7ff48fff67829d016e107d8511a7fde78dd50b
parentunnecessary newlines (diff)
downloadsynapse-445ad9941ea2e4038846aa6fed456e3250ae49b1.tar.xz
Redundant parens
Diffstat (limited to '')
-rw-r--r--synapse/storage/push_rule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py
index ca04f2ccee..f5a736be44 100644
--- a/synapse/storage/push_rule.py
+++ b/synapse/storage/push_rule.py
@@ -92,7 +92,7 @@ class PushRuleStore(SQLBaseStore):
         res = txn.fetchall()
         if not res:
             raise RuleNotFoundException("before/after rule not found: %s" % (relative_to_rule))
-        (priority_class, base_rule_priority) = res[0]
+        priority_class, base_rule_priority = res[0]
 
         if 'priority_class' in kwargs and kwargs['priority_class'] != priority_class:
             raise InconsistentRuleException(