diff options
author | Orgad Shaneh <orgads@gmail.com> | 2013-04-18 09:23:56 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-04-18 09:25:53 +0300 |
commit | 5a9fdc3f7772ab4c9f2fbe87137a879c0dcf77ad (patch) | |
tree | 73c9b6a7aab7a04dc700cb0582c1db962cf427a0 /contrib | |
parent | 0c68ab93be022915475987e89ca772b0da97e8ed (diff) |
TrivialRebase: Adapt to labels in 2.6
Change-Id: If0706a17df1e25874e3b7717a7eea00be3f47d68
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/trivial_rebase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/trivial_rebase.py b/contrib/trivial_rebase.py index 60057ce470..b58be47923 100755 --- a/contrib/trivial_rebase.py +++ b/contrib/trivial_rebase.py @@ -216,9 +216,9 @@ class TrivialRebase: # Note: Sites with different 'copy_min_score' values in the # approval_categories DB table might want different behavior here. # Additional categories should also be added if desired. - if approval["category_id"] == "CRVW" and approval['value'] != '-2': + if approval["category_id"] == "Code-Review" and approval['value'] != '-2': self.AppendAcctApproval(approval['account_id'], '--code-review %s' % approval['value']) - elif approval["category_id"] == "VRIF": + elif approval["category_id"] == "Verified": # Don't re-add verifies # self.AppendAcctApproval(approval['account_id'], '--verified %s' % approval['value']) continue |