[PATCH] D67535: [LNT] Python 3 support: Minor mechanical changes

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


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

- Replace `<>` with `!=`
- Replace `raise E, V` with `raise E(V)`
- Replace IntType, FloatType, ListType, TupleType, and StringType
- Remove parentheses from lambda parameter lists

These changes were not made using `2to3` due to technical difficulties.

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


https://reviews.llvm.org/D67535

Files:
  lnt/external/stats/pstat.py
  lnt/external/stats/stats.py
  lnt/server/reporting/runs.py
  lnt/server/ui/views.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67535.220041.patch
Type: text/x-patch
Size: 55604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190913/b4ff1c95/attachment-0001.bin>


More information about the llvm-commits mailing list