From f0a32edec6089a8ff0a5eed9ddac1c2de474b8ea Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Fri, 7 Jul 2023 17:48:21 -0500 Subject: [PATCH] chore: note odd placement of code --- ietf/review/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/review/utils.py b/ietf/review/utils.py index 31b6b401f..979682ab6 100644 --- a/ietf/review/utils.py +++ b/ietf/review/utils.py @@ -50,6 +50,8 @@ def can_request_review_of_doc(user, doc): if not user.is_authenticated: return False + # This is in a strange place as it has nothing to do with the user + # but this utility is used in too many places to move this quickly. if doc.type_id == 'draft' and doc.get_state_slug() != 'active': return False