Skip to content

Commit a60eb1e

Browse files
author
Kenneth Reitz
committed
return gh object for no auth
1 parent 6d6b17f commit a60eb1e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

github3/core.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@
1616

1717
def no_auth():
1818
"""Returns an un-authenticated Github object."""
19-
pass
19+
20+
gh = Github()
21+
22+
return gh
2023

2124

2225
def basic_auth():
2326
"""Returns an authenticated Github object, via HTTP Basic."""
24-
pass
27+
28+
gh = Github()
29+
30+
return gh

0 commit comments

Comments
 (0)