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 trending command to handle empty summaries #129

Merged
merged 1 commit into from
Sep 3, 2017

Conversation

emres
Copy link
Contributor

@emres emres commented Aug 7, 2017

The summary attribute does not necessarily exist, so the exception must be
caught. This is to fix #128 .

The `summary` attribute does not necessarily exist, so the exception must be
caught. This is to fix donnemartin/gitsome/donnemartin#128 .
@codecov-io
Copy link

Codecov Report

Merging #129 into master will decrease coverage by 0.07%.
The diff coverage is 62.5%.

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
- Coverage   79.31%   79.23%   -0.08%     
==========================================
  Files          36       36              
  Lines        2813     2817       +4     
==========================================
+ Hits         2231     2232       +1     
- Misses        582      585       +3

@donnemartin donnemartin changed the title Fix the getting of an attribute that might not exist Fix trending command to handle empty summaries Sep 3, 2017
@donnemartin donnemartin merged commit 7359a0c into donnemartin:master Sep 3, 2017
@donnemartin
Copy link
Owner

@emres thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: object has no attribute 'summary' (trying to get weekly trending repos)
3 participants