The Wayback Machine - https://web.archive.org/web/20201210202939/https://github.com/sigmavirus24/github3.py/pull/992
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix attrs update for missing ones #992

Merged
merged 1 commit into from Aug 12, 2020
Merged

Conversation

@simahawk
Copy link
Contributor

@simahawk simahawk commented Apr 18, 2020

calling self.github.me() causes:

python3.6/site-packages/github3/users.py", line 888, in _update_attributes
    self.disk_usage = user["disk_usage"]
KeyError: 'disk_usage'

Older versions were tolerant regarding this.

@omgjlk
omgjlk approved these changes Aug 12, 2020
@omgjlk omgjlk linked an issue that may be closed by this pull request Aug 12, 2020
@omgjlk omgjlk merged commit 16da0bf into sigmavirus24:master Aug 12, 2020
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.