Update normalize_path.py to Python 3.
Test: presubmits. Change-Id: I2db4fedcbb658a7ca4efa3a4557a216b8682735d
This commit is contained in:
parent
92c35bda12
commit
740641571c
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ import sys
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
for p in sys.argv[1:]:
|
for p in sys.argv[1:]:
|
||||||
print os.path.normpath(p)
|
print(os.path.normpath(p))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
for line in sys.stdin:
|
for line in sys.stdin:
|
||||||
print os.path.normpath(line.strip())
|
print(os.path.normpath(line.strip()))
|
||||||
|
|
Loading…
Reference in a new issue