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:
Anders Kaseorg
2020-06-12 23:59:37 -07:00
committed by Tim Abbott
parent 1ed2d9b4a0
commit 74c17bf94a
49 changed files with 217 additions and 241 deletions

View File

@@ -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 = {

View File

@@ -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),
},
}