Added a guard against missing conflrev state in iesg agenda code.

- Legacy-Id: 16877
This commit is contained in:
Henrik Levkowetz 2019-10-17 17:26:40 +00:00
parent bf8f928514
commit e2cc982969

View file

@ -82,7 +82,7 @@ def get_doc_section(doc):
s += ".1"
elif doc.type_id == 'conflrev':
if doc.get_state('conflrev').slug not in ('adrev','iesgeval','appr-reqnopub-pend','appr-reqnopub-sent','appr-noprob-pend','appr-noprob-sent','defer'):
if not doc.get_state('conflrev') or doc.get_state('conflrev').slug not in ('adrev','iesgeval','appr-reqnopub-pend','appr-reqnopub-sent','appr-noprob-pend','appr-noprob-sent','defer'):
s = "3.4.3"
elif doc.returning_item():
s = "3.4.2"