mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
74c17bf94a
commit
3461db7ef5
@@ -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'):
|
||||
|
Reference in New Issue
Block a user