[PATCH] D67532: [LNT] Python 3 support: print statements

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 20:41:16 PDT 2019


hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: cmatthews, thopre, kristof.beyls.

This patch applies `2to3 -f print` fixes, corrects the indentation for multiline print statements, and adds `from __future__ import print_function` to each file that was modified.

The changes cover the files found to be affected when running tests (without result submission).


https://reviews.llvm.org/D67532

Files:
  lnt/external/stats/pstat.py
  lnt/external/stats/stats.py
  lnt/lnttool/create.py
  lnt/lnttool/main.py
  lnt/server/ui/app.py
  lnt/tests/builtintest.py
  lnt/tests/compile.py
  lnt/tests/nt.py
  lnt/tests/test_suite.py
  lnt/util/ImportData.py
  lnt/util/ServerUtil.py
  lnt/util/wsgi_restart.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67532.220037.patch
Type: text/x-patch
Size: 44066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190913/5cfb9416/attachment.bin>


More information about the llvm-commits mailing list