зеркало из https://github.com/mozilla/treeherder.git
Merge pull request #251 from mozilla/fix-resultset-no-revisions
Bug 1083305 - fix resultsets with missing revisions
This commit is contained in:
Коммит
66c90113ca
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче