summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/_base.py3
-rw-r--r--synapse/storage/group_server.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 73a66e28b0..6b18d9e714 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -641,7 +641,8 @@ class SQLBaseStore(object):
         )
 
     @classmethod
-    def _simple_select_list_txn(cls, txn, table, keyvalues, retcols, order=None, order_asc=True):
+    def _simple_select_list_txn(cls, txn, table, keyvalues, retcols,
+                                order=None, order_asc=True):
         """Executes a SELECT query on the named table, which may return zero or
         more rows, returning the result as a list of dicts.
 
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py
index 3a30de5490..cfe23d18cd 100644
--- a/synapse/storage/group_server.py
+++ b/synapse/storage/group_server.py
@@ -57,7 +57,7 @@ class GroupServerStore(SQLBaseStore):
             retcols=("user_id", "is_public", "is_admin",),
             desc="get_users_in_group",
             order="is_admin",
-            order_asc=False, # Order descending: admins first
+            order_asc=False,  # Order descending: admins first
         )
 
     def get_invited_users_in_group(self, group_id):