summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-12 19:59:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-12 19:59:29 +0000
commit780ea47482854e1b58931bea928bf93bcaf6e3aa (patch)
treec408c79692a44586c248754d302d2ff20f1ed521 /tools
parent0d0188b0c7e017e431c83b2f7e4956137430b6d9 (diff)
parentf988da47302f32c3575fa5b32f43679222fda11b (diff)
downloadbionic-780ea47482854e1b58931bea928bf93bcaf6e3aa.zip
bionic-780ea47482854e1b58931bea928bf93bcaf6e3aa.tar.gz
bionic-780ea47482854e1b58931bea928bf93bcaf6e3aa.tar.bz2
Merge "Oops. Fix dict key."
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 = {