aboutsummaryrefslogtreecommitdiffstats
path: root/github3
diff options
context:
space:
mode:
Diffstat (limited to 'github3')
-rw-r--r--github3/api.py4
-rw-r--r--github3/models.py2
2 files changed, 3 insertions, 3 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)
diff --git a/github3/models.py b/github3/models.py
index 224710f..fe9e6aa 100644
--- a/github3/models.py
+++ b/github3/models.py
@@ -92,7 +92,7 @@ class User(BaseResource):
def repos(self):
# return self._gh.get_repos(username=self.login)
- repos = self._gh._get_resources(('users', self.login, 'repos'), Repo, authed=False)
+ repos = self._gh._get_resources(('users', self.login, 'repos'), Repo)
return repos