diff --git a/repo b/repo index 2d9301fcd..35e27d895 100755 --- a/repo +++ b/repo @@ -38,8 +38,8 @@ def _UpdateDepotTools(): if UPDATE_DEPOT_TOOLS.exists(): subprocess.run([UPDATE_DEPOT_TOOLS], check=True) else: - print(f'warning: {UPDATE_DEPOT_TOOLS} does not exist; export ' - 'DEPOT_TOOLS_UPDATE=0 to disable.', file=sys.stderr) + print('warning: %s does not exist; export DEPOT_TOOLS_UPDATE=0 to disable.' + % (UPDATE_DEPOT_TOOLS,), file=sys.stderr) def main(argv):