commit:     8118fec34fed9e679a470c26a66d293a4b21f281
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Sat Mar 14 16:02:30 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 16:05:28 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/assign-pull-requests.git/commit/?id=8118fec3

codeberg: fix undefined variable 'proj'

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Part-of: https://github.com/gentoo/assign-pull-requests/pull/13
Closes: https://github.com/gentoo/assign-pull-requests/pull/13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 assign-pull-requests-codeberg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assign-pull-requests-codeberg.py b/assign-pull-requests-codeberg.py
index 6fc2c2b..13259a5 100644
--- a/assign-pull-requests-codeberg.py
+++ b/assign-pull-requests-codeberg.py
@@ -249,7 +249,7 @@ def assign_one(
                     # mapping is email -> codeberg handle
                     if m.get("type") == "project":
                         ms = map_proj(memail, proj_mapping)
-                        team = map_proj_team(proj, proj_mapping)
+                        team = map_proj_team(memail, proj_mapping)
                         if team is not None:
                             team_reviewers.add(team)
                     else:

Reply via email to