From a60eb1e6783cfe680122720baf5f1079e65d676b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 23 Jul 2011 13:36:08 -0400 Subject: return gh object for no auth --- github3/core.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'github3/core.py') 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 -- cgit v1.2.3-59-g8ed1b