summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2018-04-06 16:02:06 +0100
committerLuke Barnard <luke@matrix.org>2018-04-06 16:02:06 +0100
commit020a5013544b1f7046faa97b83eb2acc613334b1 (patch)
tree5a0c129569b68b0bdfc270ecad5fdfe22e4bf54a
parentExplicitly grab individual columns from group object (diff)
downloadsynapse-020a5013544b1f7046faa97b83eb2acc613334b1.tar.xz
de-lint, quote consistency
Diffstat (limited to '')
-rw-r--r--synapse/groups/groups_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index ad937c1721..2d95b04e0c 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -411,8 +411,8 @@ class GroupsServerHandler(object):
                 "name", "short_description", "long_description",
                 "avatar_url", "is_public",
             ]
-            group_description = { key: group[key] for key in cols }
-            group_description["is_openly_joinable"] = group['join_policy'] == "open"
+            group_description = {key: group[key] for key in cols}
+            group_description["is_openly_joinable"] = group["join_policy"] == "open"
 
             defer.returnValue(group_description)
         else: