diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-10-24 11:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:23:35 +0100 |
commit | 7328039117854d1c38ae41794a9e7efb2d23c732 (patch) | |
tree | b022d21ff97fe3b99319c433a76993d4584cdf99 /synapse/crypto/keyclient.py | |
parent | Merge pull request #4040 from matrix-org/erikj/states_res_v2_rebase (diff) | |
parent | Fix a number of flake8 errors (diff) | |
download | synapse-7328039117854d1c38ae41794a9e7efb2d23c732.tar.xz |
Merge pull request #4082 from matrix-org/rav/fix_pep8
Fix a number of flake8 errors
Diffstat (limited to 'synapse/crypto/keyclient.py')
-rw-r--r-- | synapse/crypto/keyclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyclient.py b/synapse/crypto/keyclient.py index 57d4665e84..080c81f14b 100644 --- a/synapse/crypto/keyclient.py +++ b/synapse/crypto/keyclient.py @@ -55,7 +55,7 @@ def fetch_server_key(server_name, tls_client_options_factory, path=KEY_API_V1): raise IOError("Cannot get key for %r" % server_name) except (ConnectError, DomainError) as e: logger.warn("Error getting key for %r: %s", server_name, e) - except Exception as e: + except Exception: logger.exception("Error getting key for %r", server_name) raise IOError("Cannot get key for %r" % server_name) |