This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new c35ac7b  Fix a stray use of PMC where Committee was intended
c35ac7b is described below

commit c35ac7b207e442a7bb2da5aaf483a4789e0b90dd
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Mar 14 21:13:51 2025 +0200

    Fix a stray use of PMC where Committee was intended
---
 atr/routes/candidate.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/atr/routes/candidate.py b/atr/routes/candidate.py
index c5ee23e..43b512e 100644
--- a/atr/routes/candidate.py
+++ b/atr/routes/candidate.py
@@ -75,10 +75,10 @@ async def release_add_post(session: session.ClientSession, 
request: quart.Reques
     form = await ReleaseAddForm.create_form(data=await request.form)
 
     if not await form.validate():
-        # Get PMC objects for all projects the user is a member of
+        # Get Committee objects for all committees and projects the user is a 
member of
         async with db.session() as data:
-            project_list = session.committees + session.projects
-            user_committees = await data.committee(name_in=project_list).all()
+            committee_and_project_list = session.committees + session.projects
+            user_committees = await 
data.committee(name_in=committee_and_project_list).all()
 
         # Return the form with validation errors
         return await quart.render_template(


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to