osclib/stagingapi: provide project_status_final().
This commit is contained in:
parent
416172c325
commit
9b667e759e
@ -1036,6 +1036,10 @@ class StagingAPI(object):
|
||||
|
||||
return requests
|
||||
|
||||
def project_status_final(self, status):
|
||||
"""Determine if staging project is both active and no longer pending."""
|
||||
return status['overall_state'] in ['acceptable', 'review', 'failed']
|
||||
|
||||
def days_since_last_freeze(self, project):
|
||||
"""
|
||||
Checks the last update for the frozen links
|
||||
|
Loading…
x
Reference in New Issue
Block a user