From 8a60383bd8c6bcb61cdfe9e194a69c385f437684 Mon Sep 17 00:00:00 2001 From: James Molloy Date: Tue, 29 Mar 2016 11:07:43 +0000 Subject: Return the new run ID in the submitRun result It's kind of important and was somehow missing. git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@264718 91177308-0d34-0410-b5e6-96231b3b80d8 --- lnt/util/ImportData.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lnt/util/ImportData.py b/lnt/util/ImportData.py index e1c9518..1c17636 100644 --- a/lnt/util/ImportData.py +++ b/lnt/util/ImportData.py @@ -109,6 +109,7 @@ def import_and_report(config, db_name, db, file, format, commit=False, result['added_samples'] = db.getNumSamples() - numSamples result['committed'] = commit + result['run_id'] = run.id ts_name = data['Run']['Info'].get('tag') if commit: db.commit() -- cgit v1.2.3