0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 04:13:52 +01:00

Redundant parens

This commit is contained in:
David Baker 2015-01-28 14:49:59 +00:00
parent 6d485dd1c7
commit 445ad9941e

View file

@ -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(