diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-04-21 14:17:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-04-21 14:17:17 +0000 |
commit | a4bc8dfb06e96c871d7c23d0b5e31adf41c95186 (patch) | |
tree | 873e124fb6dd06c3a65ce85faae25cd3c10ede48 /contrib | |
parent | baa1432f81743d2f1e956b2d07f8402e6a9b42fb (diff) | |
parent | f51cb9a58a75e1f0d7132b6e86974eec3906f353 (diff) |
Merge "TrivialRebase: Support custom labels" into stable-2.6
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/trivial_rebase.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/trivial_rebase.py b/contrib/trivial_rebase.py index 75159fd914..ff90b6c7c4 100755 --- a/contrib/trivial_rebase.py +++ b/contrib/trivial_rebase.py @@ -226,8 +226,9 @@ class TrivialRebase: # We don't care about previous submit attempts continue else: - print "Unsupported category: %s" % approval - continue + self.AppendAcctApproval(acct_approvals, approval['account_id'], '--%s %s' % + (approval['category_id'].lower().replace(' ', '-'), + approval['value'])) gerrit_review_msg = ("\'Automatically re-added by Gerrit trivial rebase " "detection script.\'") |