diff options
author | David Baker <dave@matrix.org> | 2018-05-24 11:23:15 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-05-24 11:23:15 +0100 |
commit | 9700d15611ec93d1177d29181362fbd02df92629 (patch) | |
tree | 901ec633f69674f3b516935df5b03909a24c81d1 /synapse/rest/client | |
parent | comment (diff) | |
download | synapse-9700d15611ec93d1177d29181362fbd02df92629.tar.xz |
pep8
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index 4310e78733..0291fba9e7 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -385,7 +385,7 @@ class ThreepidDeleteRestServlet(RestServlet): yield self.auth_handler.delete_threepid( user_id, body['medium'], body['address'] ) - except Exception as e: + except Exception: # NB. This endpoint should succeed if there is nothing to # delete, so it should only throw if something is wrong # that we ought to care about. |