Catch an additional exception which can occur during generation of all_id2.txt
- Legacy-Id: 2239
This commit is contained in:
parent
51d735d5b6
commit
b1793edefb
|
@ -78,7 +78,7 @@ def all_id2_entry(id):
|
|||
# 5
|
||||
try:
|
||||
fields.append(id.replaced_by.filename)
|
||||
except InternetDraft.DoesNotExist:
|
||||
except (AttributeError, InternetDraft.DoesNotExist):
|
||||
fields.append("")
|
||||
# 6
|
||||
fields.append(id.revision_date)
|
||||
|
|
Loading…
Reference in a new issue