Skip to content

Commit b6840f0

Browse files
committed
Only try to return a shepherd for a document if one has been assigned to the document.
- Legacy-Id: 3123
1 parent 9e24d26 commit b6840f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ietfworkflows/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,5 @@ def get_full_info_for_draft(draft):
290290
workflow=get_workflow_for_draft(draft),
291291
tags=[i.annotation_tag for i in get_annotation_tags_for_draft(draft)],
292292
state=get_state_for_draft(draft),
293-
shepherd=draft.shepherd,
293+
shepherd=draft.shepherd if draft.shepherd_id else None,
294294
)

0 commit comments

Comments
 (0)