mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
python: Convert more "".format to Python 3.6 f-strings.
Generated by pyupgrade --py36-plus --keep-percent-format, with more restrictions patched out. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7b2255597c
commit
6480deaf27
@@ -145,9 +145,7 @@ def get_fork_body(payload: Dict[str, Any]) -> str:
|
||||
)
|
||||
|
||||
def get_deployment_body(payload: Dict[str, Any]) -> str:
|
||||
return '{} created new deployment.'.format(
|
||||
get_sender_name(payload),
|
||||
)
|
||||
return f'{get_sender_name(payload)} created new deployment.'
|
||||
|
||||
def get_change_deployment_status_body(payload: Dict[str, Any]) -> str:
|
||||
return 'Deployment changed status to {}.'.format(
|
||||
|
||||
Reference in New Issue
Block a user