Oops. Fix dict key.
Change-Id: Ia8295417d4097f38eef633089cb4539b849f3c74
This commit is contained in:
parent
0d0188b0c7
commit
f988da4730
@ -200,7 +200,7 @@ def build_project(gerrit_info, dry_run):
|
||||
|
||||
|
||||
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
|
||||
@ -233,7 +233,7 @@ def handle_comment(gerrit_info, body, dry_run):
|
||||
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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user