Fix list_files.py so it is python3-compatible.

Cf. 86fe7ca75c

Change-Id: I17bb00b6e39fe27c725a2026a4ced824ad360a4c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135624
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak 2020-02-15 00:12:50 +00:00 committed by commit-bot@chromium.org
parent 11ae06e988
commit 29c50c6ebe
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ def main(argv):
else:
fullname = os.path.relpath(os.path.join(root, filename))
fullname = fullname.replace(os.sep, '/')
print fullname
print (fullname)
if __name__ == '__main__':

View file

@ -35,7 +35,7 @@ def main(argv):
fullname = os.path.relpath(os.path.join(root, filename))
fullname = fullname.replace(os.sep, '/')
if re.search(pattern, fullname):
print fullname
print (fullname)
if __name__ == '__main__':