diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-08-04 16:18:44 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-08-04 16:18:44 -0400 |
commit | 96d9fc3410036e1ca23b9a1d7788c6f972f5325f (patch) | |
tree | 94a4ed73c2fd2a66ed9d70b3b94d8c70dd4007a4 | |
parent | minor fixes (diff) | |
download | synapse-96d9fc3410036e1ca23b9a1d7788c6f972f5325f.tar.xz |
maybe this will make lint happy?
-rw-r--r-- | synapse/storage/data_stores/main/devices.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/data_stores/main/devices.py b/synapse/storage/data_stores/main/devices.py index 0ad4846463..d8bfd9e113 100644 --- a/synapse/storage/data_stores/main/devices.py +++ b/synapse/storage/data_stores/main/devices.py @@ -763,7 +763,7 @@ class DeviceWorkerStore(SQLBaseStore): txn, table="dehydrated_devices", keyvalues={"user_id": user_id}, - updatevalues={"device_id": device_id, "device_data": device_data,}, + updatevalues={"device_id": device_id, "device_data": device_data}, ) return old_device_id @@ -808,11 +808,11 @@ class DeviceWorkerStore(SQLBaseStore): token_info = self.db.simple_select_one_txn( txn, "dehydration_token", - {"token": token,}, + {"token": token}, ["user_id", "device_id", "login_submission"], ) self.db.simple_delete_one_txn( - txn, "dehydration_token", {"token": token,}, + txn, "dehydration_token", {"token": token}, ) if dehydrate: |