Ensure non-WIP reviews have a score of 1 as a base
All non-WIP reviews should have a score of 1, this will ensure that they are prioritized above WIP reviews. All reviews will see an increase in score by 1 (WIP has a score of 0 now, all other reviews start with a score of 1, and are modified up as appropriate). Change-Id: I086cb01c7b8a71a9a1ec3cee2bd826f3d397c52e
This commit is contained in:
parent
02b04c151c
commit
3a30c64c13
|
@ -87,6 +87,8 @@ class MergeProp(object):
|
|||
# adjust the subject to indicate it's a WIP
|
||||
score = 0
|
||||
self.subject = '(WIP): %s' % self.subject
|
||||
else:
|
||||
score += 1
|
||||
self.score = score
|
||||
self.reason = reason
|
||||
self.cause = cause
|
||||
|
|
Loading…
Reference in New Issue