mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-04 08:32:29 +00:00
Redundant parens
This commit is contained in:
parent
6d485dd1c7
commit
445ad9941e
@ -92,7 +92,7 @@ class PushRuleStore(SQLBaseStore):
|
|||||||
res = txn.fetchall()
|
res = txn.fetchall()
|
||||||
if not res:
|
if not res:
|
||||||
raise RuleNotFoundException("before/after rule not found: %s" % (relative_to_rule))
|
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:
|
if 'priority_class' in kwargs and kwargs['priority_class'] != priority_class:
|
||||||
raise InconsistentRuleException(
|
raise InconsistentRuleException(
|
||||||
|
Loading…
Reference in New Issue
Block a user