aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukacs T. Berki <lberki@google.com>2022-10-20 08:11:18 +0000
committerLukacs T. Berki <lberki@google.com>2022-10-20 08:11:18 +0000
commit740641571c29863a6b19531cbf5f1fd70f2088d2 (patch)
tree97d51c3dc1b4c8fc70c64172d30162e373638f58
parent92c35bda1275070a269461a0b0b20f4b341e4809 (diff)
downloadbuild-740641571c29863a6b19531cbf5f1fd70f2088d2.tar.gz
Update normalize_path.py to Python 3.
Test: presubmits. Change-Id: I2db4fedcbb658a7ca4efa3a4557a216b8682735d
-rwxr-xr-xtools/normalize_path.py4
1 files 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()))