diff options
| author | 2012-04-04 00:07:50 +0200 | |
|---|---|---|
| committer | 2012-04-04 00:07:50 +0200 | |
| commit | 3e551e6801a0031f1482ad5d9f30af9df78e9471 (patch) | |
| tree | 9d28cc75691279ff75f079cd4e085e77241517af /pygithub3/services/repos | |
| parent | :sparkles: Relase 0.2 :sparkles: (diff) | |
| parent | Fix bug (diff) | |
| download | python-github3-3e551e6801a0031f1482ad5d9f30af9df78e9471.tar.xz python-github3-3e551e6801a0031f1482ad5d9f30af9df78e9471.zip | |
Gists service done
Diffstat (limited to 'pygithub3/services/repos')
| -rw-r--r-- | pygithub3/services/repos/__init__.py | 6 |
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) |
