Merge pull request #251 from mozilla/fix-resultset-no-revisions

Bug 1083305 - fix resultsets with missing revisions
This commit is contained in:
camd 2014-10-15 12:14:15 -07:00
Родитель 9613017cd6 47d80803e4
Коммит 66c90113ca
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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)