Merge "TrivialRebase: Support custom labels" into stable-2.6
This commit is contained in:
@@ -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.\'")
|
||||
|
||||
Reference in New Issue
Block a user