aboutsummaryrefslogtreecommitdiffstats
path: root/github3/api.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-07-24 17:48:08 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-07-24 17:48:08 -0400
commit2e743c77847b619b0fe85344c179e06f85bbbec5 (patch)
treebf8d1ddfd87439213a2d8122765f8e9fe3d6522b /github3/api.py
parentrepo model (diff)
downloadpython-github3-2e743c77847b619b0fe85344c179e06f85bbbec5.tar.xz
python-github3-2e743c77847b619b0fe85344c179e06f85bbbec5.zip
no reason to be not-authed
Diffstat (limited to 'github3/api.py')
-rw-r--r--github3/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/api.py b/github3/api.py
index 0a6915c..3c2e861 100644
--- a/github3/api.py
+++ b/github3/api.py
@@ -140,7 +140,7 @@ class Github(GithubCore):
def get_user(self, username):
"""Get a single user."""
- return self._get_resource(('users', username), User, authed=False)
+ return self._get_resource(('users', username), User)
def get_me(self):
@@ -153,7 +153,7 @@ class Github(GithubCore):
def get_repo(self, username, reponame):
"""Get the authenticated user."""
- return self._get_resource(('repos', username, reponame), Repo, authed=False)
+ return self._get_resource(('repos', username, reponame), Repo)