mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 15:34:48 -04:00
redundant parens
This commit is contained in:
parent
54c689c819
commit
98e1080555
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class PushRuleRestServlet(RestServlet):
|
||||||
else:
|
else:
|
||||||
raise InvalidRuleException("Unrecognised action")
|
raise InvalidRuleException("Unrecognised action")
|
||||||
|
|
||||||
return (conditions, actions)
|
return conditions, actions
|
||||||
|
|
||||||
def priority_class_from_spec(self, spec):
|
def priority_class_from_spec(self, spec):
|
||||||
if spec['template'] not in PushRuleRestServlet.PRIORITY_CLASS_MAP.keys():
|
if spec['template'] not in PushRuleRestServlet.PRIORITY_CLASS_MAP.keys():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue