Skip to content

Commit fc5dd02

Browse files
committed
Fixed a submission failure for xml files missing abstract sections.
- Legacy-Id: 15933
1 parent 3b50082 commit fc5dd02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def clean(self):
177177
self.title = self.xmlroot.findtext('front/title').strip()
178178
if type(self.title) is unicode:
179179
self.title = unidecode(self.title)
180-
self.abstract = self.xmlroot.findtext('front/abstract').strip()
180+
self.abstract = (self.xmlroot.findtext('front/abstract') or '').strip()
181181
if type(self.abstract) is unicode:
182182
self.abstract = unidecode(self.abstract)
183183
author_info = self.xmlroot.findall('front/author')

0 commit comments

Comments
 (0)