From 47d80803e4bdd5e0d6c9019107fe115a6c597dcd Mon Sep 17 00:00:00 2001 From: Cameron Dawson Date: Wed, 15 Oct 2014 10:43:53 -0700 Subject: [PATCH] Bug 1083305 - fix resultsets with missing revisions --- treeherder/model/derived/jobs.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/treeherder/model/derived/jobs.py b/treeherder/model/derived/jobs.py index 8c8f356b3..d4d051f51 100644 --- a/treeherder/model/derived/jobs.py +++ b/treeherder/model/derived/jobs.py @@ -2625,13 +2625,13 @@ class JobsModel(TreeherderModelBase): result_set_id_lookup[revision_hash]['id'] ) - # Insert new revisions - dhub.execute( - proc='jobs.inserts.set_revision', - placeholders=revision_placeholders, - executemany=True, - debug_show=self.DEBUG - ) + # Insert new revisions + dhub.execute( + proc='jobs.inserts.set_revision', + placeholders=revision_placeholders, + executemany=True, + debug_show=self.DEBUG + ) # Retrieve new revision ids rev_where_in_clause = ','.join(rev_where_in_list)