Open
Description
latest_release()
is dying with:
File ".../src/github3/repos/repo.py", line 2163, in latest_release
return self._instance_or_null(release.Release, json)
File ".../src/github3/models.py", line 152, in _instance_or_null
return instance_class(json, self)
File ".../src/github3/models.py", line 53, in __init__
self._update_attributes(json)
File ".../src/github3/repos/release.py", line 102, in _update_attributes
self.author = users.ShortUser(release["author"], self)
File ".../src/github3/models.py", line 53, in __init__
self._update_attributes(json)
File ".../src/github3/users.py", line 309, in _update_attributes
self.avatar_url = user["avatar_url"]
TypeError: 'NoneType' object is not subscriptable
This happens on https://api.github.com/repos/uNetworking/uSockets/releases/latest, which, as of reporting, is https://api.github.com/repos/uNetworking/uSockets/releases/tags/v0.8.1, which are producing "author": null
rather than "author": {...}
.
This looks to be similar to #988.
Metadata
Metadata
Assignees
Labels
No labels