update validation rule to look at series status on deliverable
Update the validation rule that prevents new releases on closed series to look at the stable status of the deliverable, which can override the value for the series. Change-Id: I4beffa646253da7f50ddb1054b90839d881e3aa5 Story: #2001852 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
@@ -47,10 +47,6 @@ class Series(object):
|
||||
def eol_date(self):
|
||||
return self._data.get('eol-date', None)
|
||||
|
||||
@property
|
||||
def allows_releases(self):
|
||||
return self.status in ('development', 'maintained')
|
||||
|
||||
|
||||
class SeriesStatus(collections.abc.Mapping):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user