From f988da47302f32c3575fa5b32f43679222fda11b Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 12 Jan 2015 11:56:41 -0800 Subject: Oops. Fix dict key. Change-Id: Ia8295417d4097f38eef633089cb4539b849f3c74 --- tools/bionicbb/gmail_listener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/bionicbb/gmail_listener.py b/tools/bionicbb/gmail_listener.py index f2c061b..455d270 100644 --- a/tools/bionicbb/gmail_listener.py +++ b/tools/bionicbb/gmail_listener.py @@ -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 = { -- cgit v1.1