mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
lint
This commit is contained in:
parent
621e7f37f1
commit
a8ad39eec7
@ -230,7 +230,7 @@ class MatrixFederationHttpClient(object):
|
|||||||
if not try_trailing_slash_on_400:
|
if not try_trailing_slash_on_400:
|
||||||
# Received an error >= 300. Raise unless we're retrying
|
# Received an error >= 300. Raise unless we're retrying
|
||||||
raise e
|
raise e
|
||||||
except:
|
except Exception as e:
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
# Retry with a trailing slash if we received a 400 with
|
# Retry with a trailing slash if we received a 400 with
|
||||||
|
Loading…
Reference in New Issue
Block a user