mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
python: Convert more percent formatting to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus. Now including %d, %i, %u, and multi-line strings. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
1ed2d9b4a0
commit
74c17bf94a
@@ -223,7 +223,7 @@ SOCIAL_AUTH_SAML_ORG_INFO = {
|
||||
"en-US": {
|
||||
"displayname": "Example, Inc. Zulip",
|
||||
"name": "zulip",
|
||||
"url": "%s%s" % ('https://', EXTERNAL_HOST),
|
||||
"url": "{}{}".format('https://', EXTERNAL_HOST),
|
||||
},
|
||||
}
|
||||
SOCIAL_AUTH_SAML_ENABLED_IDPS = {
|
||||
|
||||
@@ -206,7 +206,7 @@ SOCIAL_AUTH_SAML_ORG_INFO = {
|
||||
"en-US": {
|
||||
"name": "example",
|
||||
"displayname": "Example Inc.",
|
||||
"url": "%s%s" % ('http://', EXTERNAL_HOST),
|
||||
"url": "{}{}".format('http://', EXTERNAL_HOST),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user