Skip to content

Commit b1793ed

Browse files
committed
Catch an additional exception which can occur during generation of all_id2.txt
- Legacy-Id: 2239
1 parent 51d735d commit b1793ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idindex/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def all_id2_entry(id):
7878
# 5
7979
try:
8080
fields.append(id.replaced_by.filename)
81-
except InternetDraft.DoesNotExist:
81+
except (AttributeError, InternetDraft.DoesNotExist):
8282
fields.append("")
8383
# 6
8484
fields.append(id.revision_date)

0 commit comments

Comments
 (0)