aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/repos.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-17 07:32:19 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-17 07:32:19 +0100
commitc99a6c5be7f418726bc9ee233379357c6e5b0294 (patch)
treeff4f2c9a13e86767850bd536c2298d32d63028d5 /pygithub3/services/repos.py
parentRepos collaborators added (diff)
downloadpython-github3-c99a6c5be7f418726bc9ee233379357c6e5b0294.tar.xz
python-github3-c99a6c5be7f418726bc9ee233379357c6e5b0294.zip
Services' renaming: base.Base to base.Service
Diffstat (limited to 'pygithub3/services/repos.py')
-rw-r--r--pygithub3/services/repos.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygithub3/services/repos.py b/pygithub3/services/repos.py
index 97294ae..0de4045 100644
--- a/pygithub3/services/repos.py
+++ b/pygithub3/services/repos.py
@@ -1,10 +1,10 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
-from .base import Base
+from .base import Service
-class Collaborator(Base):
+class Collaborator(Service):
def list(self, user=None, repo=None):
request = self.make_request('repos.collaborators.list',
@@ -34,7 +34,7 @@ class Collaborator(Base):
self._delete(request)
-class Repo(Base):
+class Repo(Service):
def __init__(self, **config):
self.collaborators = Collaborator(**config)