no reason to be not-authed

This commit is contained in:
Kenneth Reitz
2011-07-24 17:48:08 -04:00
parent 4affea8778
commit 2e743c7784
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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