def handle_change(gerrit_info, _, dry_run):
- if '@google.com' not in gerrit_info['Gerrit-Owner']:
+ if '@google.com' not in gerrit_info['Owner']:
return True
return build_project(gerrit_info, dry_run)
handle_newchange = handle_change
drop_rejection(gerrit_info, dry_run)
# TODO(danalbert): Needs to be based on the account that made the comment.
- if '@google.com' not in gerrit_info['Gerrit-Owner']:
+ if '@google.com' not in gerrit_info['Owner']:
return True
command_map = {