summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-12 11:56:41 -0800
committerDan Albert <danalbert@google.com>2015-01-12 11:58:09 -0800
commitf988da47302f32c3575fa5b32f43679222fda11b (patch)
treec408c79692a44586c248754d302d2ff20f1ed521 /tools
parent0d0188b0c7e017e431c83b2f7e4956137430b6d9 (diff)
downloadbionic-f988da47302f32c3575fa5b32f43679222fda11b.zip
bionic-f988da47302f32c3575fa5b32f43679222fda11b.tar.gz
bionic-f988da47302f32c3575fa5b32f43679222fda11b.tar.bz2
Oops. Fix dict key.
Change-Id: Ia8295417d4097f38eef633089cb4539b849f3c74
Diffstat (limited to 'tools')
-rw-r--r--tools/bionicbb/gmail_listener.py4
1 files changed, 2 insertions, 2 deletions
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 = {