We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609b977 commit c0e520bCopy full SHA for c0e520b
1 file changed
ietf/idrfc/views_edit.py
@@ -52,8 +52,8 @@ class ChangeStateFormREDESIGN(forms.Form):
52
53
def clean(self):
54
retclean = self.cleaned_data
55
- state = self.cleaned_data['state']
56
- tag = self.cleaned_data['substate']
+ state = self.cleaned_data.get('state', '(None)')
+ tag = self.cleaned_data.get('substate','')
57
comment = self.cleaned_data['comment'].strip()
58
doc = get_object_or_404(Document, docalias__name=self.docname)
59
prev = doc.get_state("draft-iesg")
0 commit comments