diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-03-02 11:23:46 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-03-02 11:23:46 +0000 |
commit | cb97ea3ec236c23c745e59c3a857503dd8dc3410 (patch) | |
tree | 4394fa84d1a3e6841933a201a983ac79f0c72de1 /synapse/storage | |
parent | Wrap all of get_app_service_rooms in a txn. (diff) | |
download | synapse-cb97ea3ec236c23c745e59c3a857503dd8dc3410.tar.xz |
PEP8
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 3d0172d09b..65ffb4627f 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -187,7 +187,7 @@ class RoomMemberStore(SQLBaseStore): ) def _get_rooms_for_user_where_membership_is_txn(self, txn, user_id, - membership_list): + membership_list): where_clause = "user_id = ? AND (%s)" % ( " OR ".join(["membership = ?" for _ in membership_list]), ) |