* commit 'a38662b4423a2277f15305de69df91fa995afac0': Oops. Fix dict key.
This commit is contained in:
@@ -200,7 +200,7 @@ def build_project(gerrit_info, dry_run):
|
|||||||
|
|
||||||
|
|
||||||
def handle_change(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 True
|
||||||
return build_project(gerrit_info, dry_run)
|
return build_project(gerrit_info, dry_run)
|
||||||
handle_newchange = handle_change
|
handle_newchange = handle_change
|
||||||
@@ -233,7 +233,7 @@ def handle_comment(gerrit_info, body, dry_run):
|
|||||||
drop_rejection(gerrit_info, dry_run)
|
drop_rejection(gerrit_info, dry_run)
|
||||||
|
|
||||||
# TODO(danalbert): Needs to be based on the account that made the comment.
|
# 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
|
return True
|
||||||
|
|
||||||
command_map = {
|
command_map = {
|
||||||
|
Reference in New Issue
Block a user