8000 Fix typo in Repository JSON key 'forks_count' · sigmavirus24/github3.py@3802b79 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3802b79

Browse files
committed
Fix typo in Repository JSON key 'forks_count'
It should be 'forks_count' instead of 'fork_count' according to https://developer.github.com/v3/repos/#get.
1 parent 310dd4b commit 3802b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github3/repos/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(self, repo, session=None):
7171
self.forks = repo.get('forks', 0)
7272

7373
#: The number of forks of this repository.
74-
self.fork_count = repo.get('fork_count')
74+
self.forks_count = repo.get('forks_count')
7575

7676
#: Is this repository a fork?
7777
self.fork = repo.get('fork')

0 commit comments

Comments
 (0)
0