summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-28 14:35:00 +0000
committerDavid Baker <dave@matrix.org>2015-01-28 14:35:00 +0000
commit8807f4170eaf2515407b656b7eb6fe7e8fc93796 (patch)
tree84aa9a2a0460774a58c44c033a4ca035cbe16af7 /synapse/rest/client/v1
parentAnother superfluous newline (diff)
downloadsynapse-8807f4170eaf2515407b656b7eb6fe7e8fc93796.tar.xz
Better style
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r--synapse/rest/client/v1/push_rule.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py

index 3a08bdd9af..52f2b19bbe 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py
@@ -242,8 +242,11 @@ class PushRuleRestServlet(ClientV1RestServlet): continue if instance_handle not in rules['device']: rules['device'][instance_handle] = {} - rules['device'][instance_handle] = \ - _add_empty_priority_class_arrays(rules['device'][instance_handle]) + rules['device'][instance_handle] = ( + _add_empty_priority_class_arrays( + rules['device'][instance_handle] + ) + ) rulearray = rules['device'][instance_handle][template_name] else: