diff options
-rwxr-xr-x | tools/fileslist.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/fileslist.py b/tools/fileslist.py index a11efaa..1442bd3 100755 --- a/tools/fileslist.py +++ b/tools/fileslist.py @@ -15,6 +15,8 @@ # limitations under the License. # +from __future__ import print_function + import operator, os, sys def get_file_size(path): @@ -39,7 +41,7 @@ def main(argv): pass output.sort(key=operator.itemgetter(0), reverse=True) for row in output: - print "%12d %s" % row + print("%12d %s" % row) if __name__ == '__main__': main(sys.argv) |