From 740641571c29863a6b19531cbf5f1fd70f2088d2 Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Thu, 20 Oct 2022 08:11:18 +0000 Subject: [PATCH] Update normalize_path.py to Python 3. Test: presubmits. Change-Id: I2db4fedcbb658a7ca4efa3a4557a216b8682735d --- tools/normalize_path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/normalize_path.py b/tools/normalize_path.py index 6c4d5486dc..363df1f1fd 100755 --- a/tools/normalize_path.py +++ b/tools/normalize_path.py @@ -22,8 +22,8 @@ import sys if len(sys.argv) > 1: for p in sys.argv[1:]: - print os.path.normpath(p) + print(os.path.normpath(p)) sys.exit(0) for line in sys.stdin: - print os.path.normpath(line.strip()) + print(os.path.normpath(line.strip()))