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:
Doug Hellmann
2018-04-20 11:50:18 -04:00
parent a817e3a6ab
commit 8cda10dc82
3 changed files with 11 additions and 11 deletions

View File

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