Store the sha in reviews as well.

This commit is contained in:
Michael Still 2014-05-27 11:31:08 +10:00
parent 3bcf28bd7a
commit f12156a422
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ for filename in ninety_days_of_filenames():
if j['type'] == 'patchset-created':
patches[patch_key][patchset]['created'] = \
j['patchSet']['createdOn']
patches[patch_key][patchset]['sha'] = \
j['patchSet']['revision']
elif j['type'] == 'comment-added':
author = j['author'].get('username', None)