report the number of votes needed
Have check_review_status.py report the number of votes needed so the reader of the output doesn't have to remember that detail about the rules. Change-Id: Ie1ec376e5cfbdc5a093107a0611b87c61a63a7c3 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
d5104ab0a7
commit
a3e5124243
@ -198,7 +198,7 @@ def get_one_status(change, delegates):
|
||||
time_to_approve = since_majority > datetime.timedelta(3)
|
||||
else:
|
||||
time_to_approve = False
|
||||
earliest = '4 days after majority'
|
||||
earliest = '4 days after 5 positive votes'
|
||||
|
||||
if votes_to_approve and time_to_approve:
|
||||
parts.append('YES')
|
||||
@ -246,7 +246,7 @@ def get_one_status(change, delegates):
|
||||
time_to_approve = since_majority > datetime.timedelta(3)
|
||||
else:
|
||||
time_to_approve = False
|
||||
earliest = '4 days after majority'
|
||||
earliest = '4 days after 9 positive votes'
|
||||
|
||||
if votes_to_approve and time_to_approve:
|
||||
parts.append('YES')
|
||||
|
Loading…
Reference in New Issue
Block a user