mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
python: Convert "".format to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus --keep-percent-format, but with the
NamedTuple changes reverted (see commit
ba7906a3c6
, #15132).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1050,7 +1050,7 @@ for idp_name, idp_dict in SOCIAL_AUTH_SAML_ENABLED_IDPS.items():
|
||||
if 'x509cert_path' in idp_dict:
|
||||
path = idp_dict['x509cert_path']
|
||||
else:
|
||||
path = "/etc/zulip/saml/idps/{}.crt".format(idp_name)
|
||||
path = f"/etc/zulip/saml/idps/{idp_name}.crt"
|
||||
idp_dict['x509cert'] = get_from_file_if_exists(path)
|
||||
|
||||
SOCIAL_AUTH_PIPELINE = [
|
||||
|
Reference in New Issue
Block a user