am a38662b4: am 780ea474: Merge "Oops. Fix dict key."
* commit 'a38662b4423a2277f15305de69df91fa995afac0': Oops. Fix dict key.
This commit is contained in:
commit
905ffc2b38
@ -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