-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Since the version 2.7.0, there is a bug to the get_repo_permission function.
When I try to get the permissions from a team to a repository by using the name and not the repository object I received None.
repo_permissions = team.get_repo_permission("orga/repo")The issue is with this fix #3263 at this line https://github.com/PyGithub/PyGithub/blob/main/github/Team.py#L319
Now the '/' is encoded but it should not for the fullname which has organization + repository name.
I checked the tests as well and it seems only the interface with the repository object is tested (https://github.com/PyGithub/PyGithub/blob/main/tests/Team.py#L169).
Thanks
Metadata
Metadata
Assignees
Labels
No labels