0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-29 22:45:05 +02:00

redundant parens

This commit is contained in:
David Baker 2015-01-23 13:25:36 +00:00
parent 54c689c819
commit 98e1080555

View file

@ -122,7 +122,7 @@ class PushRuleRestServlet(RestServlet):
else:
raise InvalidRuleException("Unrecognised action")
return (conditions, actions)
return conditions, actions
def priority_class_from_spec(self, spec):
if spec['template'] not in PushRuleRestServlet.PRIORITY_CLASS_MAP.keys():