diff options
author | 2011-07-23 13:36:08 -0400 | |
---|---|---|
committer | 2011-07-23 13:36:08 -0400 | |
commit | a60eb1e6783cfe680122720baf5f1079e65d676b (patch) | |
tree | 19cb5c261962b35a4a389ddaf80f9f137f5510fb /github3/core.py | |
parent | config defaults (diff) | |
download | python-github3-a60eb1e6783cfe680122720baf5f1079e65d676b.tar.xz python-github3-a60eb1e6783cfe680122720baf5f1079e65d676b.zip |
return gh object for no auth
Diffstat (limited to 'github3/core.py')
-rw-r--r-- | github3/core.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/github3/core.py b/github3/core.py index 488f81d..0fdffd4 100644 --- a/github3/core.py +++ b/github3/core.py @@ -16,9 +16,15 @@ from .api import Github, settings def no_auth(): """Returns an un-authenticated Github object.""" - pass + + gh = Github() + + return gh def basic_auth(): """Returns an authenticated Github object, via HTTP Basic.""" - pass
\ No newline at end of file + + gh = Github() + + return gh
\ No newline at end of file |