commit | 740641571c29863a6b19531cbf5f1fd70f2088d2 | [log] [tgz] |
---|---|---|
author | Lukacs T. Berki <lberki@google.com> | Thu Oct 20 08:11:18 2022 +0000 |
committer | Lukacs T. Berki <lberki@google.com> | Thu Oct 20 08:11:18 2022 +0000 |
tree | 97d51c3dc1b4c8fc70c64172d30162e373638f58 | |
parent | 92c35bda1275070a269461a0b0b20f4b341e4809 [diff] [blame] |
Update normalize_path.py to Python 3. Test: presubmits. Change-Id: I2db4fedcbb658a7ca4efa3a4557a216b8682735d
diff --git a/tools/normalize_path.py b/tools/normalize_path.py index 6c4d548..363df1f 100755 --- a/tools/normalize_path.py +++ b/tools/normalize_path.py
@@ -22,8 +22,8 @@ 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()))