8000 Rename attribute · staticdev/github4.py@5aac0fa · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 5aac0fa

Browse files
committed
Rename attribute
1 parent b25c1d6 commit 5aac0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github3/pulls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def __init__(self, pull, session=None):
179179
#: Review comment URL Template. Expands with ``number``
180180
self.review_comment_url = URITemplate(comments) if comments else None
181181
#: Number of review comments on the pull request
182-
self.review_comments = pull.get('review_comments')
182+
self.review_comments_count = pull.get('review_comments')
183183
#: GitHub.com url for review comments (not a template)
184184
self.review_comments_url = pull.get('review_comments_url')
185185

0 commit comments

Comments
 (0)
0