You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if you call repo.get_license() on a repo that doesn't even have a license file, you get an exception: github.GithubException.UnknownObjectException: 404 {'message': 'Not Found', 'documentation_url': 'https://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license'}.
Personally, I would prefer to just get a None returned instead. Idk what's most pythonic?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Right now if you call
repo.get_license()
on a repo that doesn't even have a license file, you get an exception:github.GithubException.UnknownObjectException: 404 {'message': 'Not Found', 'documentation_url': 'https://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license'}
.Personally, I would prefer to just get a
None
returned instead. Idk what's most pythonic?The text was updated successfully, but these errors were encountered: