gerrit: Account for new review category
Addition of Trybot-Verified reviewer causes gerrit command line
utility throw multiple warnings. Let's just accept this reviewer type
without displaying its status in the command line utility output for
now.
BUG=none
TEST=manual
. running 'gerrit mine' is not throwing any warnings anymore
Change-Id: I30b976f715b3c78597bfc60706b70eb48f65cfa8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/176542
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index c3eeb93..3f52ae3 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -26,10 +26,11 @@
# Map the internal names to the ones we normally show on the web ui.
GERRIT_APPROVAL_MAP = {
- 'COMR': ['CQ', 'Commit Queue',],
- 'CRVW': ['CR', 'Code Review ',],
- 'SUBM': ['S ', 'Submitted ',],
- 'VRIF': ['V ', 'Verified ',],
+ 'COMR': ['CQ', 'Commit Queue ',],
+ 'CRVW': ['CR', 'Code Review ',],
+ 'SUBM': ['S ', 'Submitted ',],
+ 'TBVF': ['TV', 'Trybot Verified',],
+ 'VRIF': ['V ', 'Verified ',],
}
# Order is important -- matches the web ui. This also controls the short