diff options
author | Dan Albert <danalbert@google.com> | 2015-01-12 19:59:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-12 19:59:29 +0000 |
commit | 780ea47482854e1b58931bea928bf93bcaf6e3aa (patch) | |
tree | c408c79692a44586c248754d302d2ff20f1ed521 /tools | |
parent | 0d0188b0c7e017e431c83b2f7e4956137430b6d9 (diff) | |
parent | f988da47302f32c3575fa5b32f43679222fda11b (diff) | |
download | bionic-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.py | 4 |
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 = { |