aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-04-03 23:16:49 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-04-03 23:17:15 +0200
commit1abcce9551c83f3ad00303a8d4ef555c9c62f8a4 (patch)
tree67a2b7a5a68d13ca61965de897900ecc4dd0fa9f /pygithub3/services
parentservices.gists.Comment done (diff)
downloadpython-github3-1abcce9551c83f3ad00303a8d4ef555c9c62f8a4.tar.xz
python-github3-1abcce9551c83f3ad00303a8d4ef555c9c62f8a4.zip
Fix naming
Diffstat (limited to 'pygithub3/services')
-rw-r--r--pygithub3/services/repos/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygithub3/services/repos/__init__.py b/pygithub3/services/repos/__init__.py
index 3ef1fb4..628e9d6 100644
--- a/pygithub3/services/repos/__init__.py
+++ b/pygithub3/services/repos/__init__.py
@@ -11,7 +11,7 @@ from .watchers import Watchers
from .hooks import Hooks
-class Repos(Service):
+class Repo(Service):
""" Consume `Repos API <http://developer.github.com/v3/repos>`_ """
def __init__(self, **config):
@@ -22,7 +22,7 @@ class Repos(Service):
self.keys = Keys(**config)
self.watchers = Watchers(**config)
self.hooks = Hooks(**config)
- super(Repos, self).__init__(**config)
+ super(Repo, self).__init__(**config)
def list(self, user=None, type='all'):
""" Get user's repositories
@@ -133,7 +133,7 @@ class Repos(Service):
return self.__list_contributors(user, repo)
def list_contributors_with_anonymous(self, user=None, repo=None):
- """ Like :attr:`~pygithub3.services.repos.Repos.list_contributors` plus
+ """ Like :attr:`~pygithub3.services.repos.Repo.list_contributors` plus
anonymous """
return self.__list_contributors(user, repo, anom=True)