summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-01-30 10:53:17 +0000
committerGitHub <noreply@github.com>2019-01-30 10:53:17 +0000
commit3f189c902ea1146a497512049aa38fe9a0a91169 (patch)
treea5681bf0f6c239cb453e51a5442bc363a52bd60c /synapse/storage/__init__.py
parentMerge pull request #4486 from xperimental/workaround-4216 (diff)
downloadsynapse-3f189c902ea1146a497512049aa38fe9a0a91169.tar.xz
Fix flake8 (#4519)
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 24329879e5..42cd3c83ad 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -317,7 +317,7 @@ class DataStore(RoomMemberStore, RoomStore,
                               thirty_days_ago_in_secs))
 
             for row in txn:
-                if row[0] is 'unknown':
+                if row[0] == 'unknown':
                     pass
                 results[row[0]] = row[1]