[PATCH] D67884: [LNT] Sort machines by ID as expected by test case
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 14:55:12 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373129: [LNT] Sort machines by ID as expected by test case (authored by hubert.reinterpretcast, committed by ).
Herald added a project: LLVM.
Changed prior to commit:
https://reviews.llvm.org/D67884?vs=221198&id=222252#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67884/new/
https://reviews.llvm.org/D67884
Files:
lnt/trunk/lnt/server/ui/api.py
Index: lnt/trunk/lnt/server/ui/api.py
===================================================================
--- lnt/trunk/lnt/server/ui/api.py
+++ lnt/trunk/lnt/server/ui/api.py
@@ -100,7 +100,7 @@
def get():
ts = request.get_testsuite()
session = request.session
- machines = session.query(ts.Machine).all()
+ machines = session.query(ts.Machine).order_by(ts.Machine.id).all()
result = common_fields_factory()
result['machines'] = machines
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67884.222252.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/87c0c4bb/attachment.bin>
More information about the llvm-commits
mailing list