aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-16 12:36:37 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-16 12:36:41 +0200
commit488252cbc150a2ed8e86754a9e18a2fc27b8ec5c (patch)
treeeabdad62bb51819e1474d4d12c2d32e60ec28dce /pygithub3/services
parentissues.milestones service (diff)
downloadpython-github3-488252cbc150a2ed8e86754a9e18a2fc27b8ec5c.tar.xz
python-github3-488252cbc150a2ed8e86754a9e18a2fc27b8ec5c.zip
Remove list_milestones from repo service
in favour of issues.milestones.list() to maintain the same structure with Github API docs
Diffstat (limited to 'pygithub3/services')
-rw-r--r--pygithub3/services/repos/__init__.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/pygithub3/services/repos/__init__.py b/pygithub3/services/repos/__init__.py
index 3c5ec3c..628e9d6 100644
--- a/pygithub3/services/repos/__init__.py
+++ b/pygithub3/services/repos/__init__.py
@@ -190,18 +190,3 @@ class Repo(Service):
request = self.make_request('repos.list_branches',
user=user, repo=repo)
return self._get_result(request)
-
- def list_milestones(self, user=None, repo=None):
- """ Get repository's milestones
-
- :param str user: Username
- :param str repo: Repository
- :returns: A :doc:`result`
-
- .. note::
- Remember :ref:`config precedence`
- """
- request = self.make_request('repos.list_milestones',
- user=user,
- repo=repo)
- return self._get_result(request)