python: Convert percent formatting to "".format in certain files.

These files can’t use f-strings yet because they need to run in Python
2 or Python 3.5.

Generated by pyupgrade.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-13 19:36:06 -07:00
committed by Tim Abbott
parent 74c17bf94a
commit 3461db7ef5
4 changed files with 21 additions and 21 deletions

View File

@@ -59,7 +59,7 @@ def setup_node_modules(
yarn_args,
success_stamp)
print("Using cached node modules from %s" % (cached_node_modules,))
print("Using cached node modules from {}".format(cached_node_modules))
if os.path.islink('node_modules'):
os.remove('node_modules')
elif os.path.isdir('node_modules'):