8000 A couple important fixes · palfrey/github3.py@6c36e69 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c36e69

Browse files
committed
A couple important fixes
1 parent a3038c8 commit 6c36e69

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

github3/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def authorize(login, password, scopes, note='', note_url='', client_id='',
2929
which to create the token
3030
:returns: :class:`Authorization <Authorization>`
3131
"""
32-
return gh.authorize(login, password, scopes, note, note_url)
32+
return gh.authorize(login, password, scopes, note, note_url, client_id,
33+
client_secret)
3334

3435

3536
def login(username=None, password=None, token=None):

github3/gists.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
"""
88

9+
from json import dumps
910
from github3.models import GitHubObject, GitHubCore, BaseComment
1011
from github3.users import User
1112
from github3.decorators import requires_auth

github3/users.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
"""
88

9+
from json import dumps
910
from github3.events import Event
1011
from github3.models import GitHubObject, GitHubCore, BaseAccount
1112
from github3.decorators import requires_auth

0 commit comments

Comments
 (0)
0