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:
Morgan Fainberg 2014-02-11 18:02:17 -08:00
parent 02b04c151c
commit 3a30c64c13
1 changed files with 2 additions and 0 deletions

View File

@ -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