Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81c180a

Browse files
committed
Fix github api imports
1 parent 922cf11 commit 81c180a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

awesome/awesome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99

1010
import click
11-
from github3 import null
11+
from githubcli.lib.github3 import null
1212

1313
from awesome.lib.github import GitHub
1414

awesome/lib/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import ConfigParser as configparser
2424

2525
import click
26-
from github3 import authorize, login
27-
from github3.exceptions import UnprocessableEntity
26+
from githubcli.lib.github3 import authorize, login
27+
from githubcli.lib.github3.exceptions import UnprocessableEntity
2828

2929

3030
class GitHub(object):

tests/mock_github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Creative Commons Attribution 4.0 International License (CC BY 4.0)
66
# http://creativecommons.org/licenses/by/4.0/
77

8-
from github3 import null
8+
from githubcli.lib.github3 import null
99

1010

1111
class MockRepo(object):

0 commit comments

Comments
 (0)