[PATCH] D67815: [LNT] Python 3 support: adapt to filter returning an iterator
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 00:51:25 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372819: [LNT] Python 3 support: adapt to filter returning an iterator (authored by thopre, committed by ).
Herald added a project: LLVM.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67815/new/
https://reviews.llvm.org/D67815
Files:
lnt/trunk/lnt/server/reporting/summaryreport.py
Index: lnt/trunk/lnt/server/reporting/summaryreport.py
===================================================================
--- lnt/trunk/lnt/server/reporting/summaryreport.py
+++ lnt/trunk/lnt/server/reporting/summaryreport.py
@@ -119,7 +119,7 @@
if rex.match(machine.name):
return True
self.requested_machines = dict(
- (ts, filter(should_be_in_report, session.query(ts.Machine).all()))
+ (ts, list(filter(should_be_in_report, session.query(ts.Machine).all())))
for ts in self.testsuites)
self.requested_machine_ids = dict(
(ts, [m.id for m in machines])
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67815.221681.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/c280549f/attachment.bin>
More information about the llvm-commits
mailing list