aboutsummaryrefslogtreecommitdiffstats
path: root/github3/core.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-07-24 11:28:28 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-07-24 11:28:50 -0400
commitafe25b7296e5609949e09db5971f1173ff63b178 (patch)
tree118b19771bc79910e8b8031a67069967460d3df0 /github3/core.py
parentcleanups (diff)
downloadpython-github3-afe25b7296e5609949e09db5971f1173ff63b178.tar.xz
python-github3-afe25b7296e5609949e09db5971f1173ff63b178.zip
is_authenticated
Diffstat (limited to 'github3/core.py')
-rw-r--r--github3/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/github3/core.py b/github3/core.py
index 77c5c9e..725d09d 100644
--- a/github3/core.py
+++ b/github3/core.py
@@ -30,6 +30,7 @@ def basic_auth(username, password):
return args, kwargs
gh = Github()
+ gh.is_authenticated = True
gh._requests_pre_hook = enable_auth
return gh \ No newline at end of file