summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/trivial_rebase.py5
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.\'")