mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 20:23:51 +01: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()
|
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 a new issue