Do not fail if review contains to username
Change-Id: I5fdeaad8faf3bb4f6119ab6df2cc23ed74c465d5
This commit is contained in:
@@ -461,6 +461,10 @@ class RecordProcessor(object):
|
|||||||
action['by'] = comment['reviewer']
|
action['by'] = comment['reviewer']
|
||||||
action['grantedOn'] = comment['timestamp']
|
action['grantedOn'] = comment['timestamp']
|
||||||
|
|
||||||
|
if ('email' not in action['by'] or
|
||||||
|
'username' not in action['by']):
|
||||||
|
continue # ignore
|
||||||
|
|
||||||
yield self._make_mark_record(
|
yield self._make_mark_record(
|
||||||
record, record['patchSets'][-1], action)
|
record, record['patchSets'][-1], action)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user