aboutsummaryrefslogtreecommitdiffstats
path: root/github3/core.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-07-23 13:36:08 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-07-23 13:36:08 -0400
commita60eb1e6783cfe680122720baf5f1079e65d676b (patch)
tree19cb5c261962b35a4a389ddaf80f9f137f5510fb /github3/core.py
parentconfig defaults (diff)
downloadpython-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.py10
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