Added a guard against missing conflrev state in iesg agenda code.
- Legacy-Id: 16877
This commit is contained in:
parent
bf8f928514
commit
e2cc982969
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue