You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/03/14 19:14:01 UTC

(tooling-trusted-release) branch main updated: Fix a stray use of PMC where Committee was intended

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 <se...@miscoranda.com>
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: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org