mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 10:10:06 +00:00
Redundant parens
This commit is contained in:
parent
6d485dd1c7
commit
445ad9941e
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue