mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +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
@@ -136,9 +136,9 @@ with open(pid_file_path, 'w+') as f:
|
||||
def server_processes() -> List[List[str]]:
|
||||
main_cmds = [
|
||||
['./manage.py', 'runserver'] +
|
||||
manage_args + runserver_args + ['127.0.0.1:%d' % (django_port,)],
|
||||
manage_args + runserver_args + [f'127.0.0.1:{django_port}'],
|
||||
['env', 'PYTHONUNBUFFERED=1', './manage.py', 'runtornado'] +
|
||||
manage_args + ['127.0.0.1:%d' % (tornado_port,)],
|
||||
manage_args + [f'127.0.0.1:{tornado_port}'],
|
||||
]
|
||||
|
||||
if options.streamlined:
|
||||
|
||||
Reference in New Issue
Block a user