From 96d9fc3410036e1ca23b9a1d7788c6f972f5325f Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Tue, 4 Aug 2020 16:18:44 -0400 Subject: maybe this will make lint happy? --- synapse/storage/data_stores/main/devices.py | 6 +++--- 1 file 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: -- cgit 1.4.1