Skip to content

Commit

Permalink
forklift/legacy: fallback on all project users for GPG email (pypi#15004
Browse files Browse the repository at this point in the history
)

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Dec 4, 2023
1 parent d1e4993 commit e8ddb80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion warehouse/forklift/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,9 @@ def file_upload(request):
"provided signature has been discarded."
)
send_gpg_signature_uploaded_email(
request, request.user, project_name=project.name
request,
request.user if request.user else project.users,
project_name=project.name,
)

# TODO: This should be handled by some sort of database trigger or
Expand Down

0 comments on commit e8ddb80

Please sign in to comment.