| Index: rietveld.py
|
| diff --git a/rietveld.py b/rietveld.py
|
| index 68988ab73674a68a5943a606b3a4d4f9cb340339..eddf77eef50a7e85b2e38d7783e30f18b7798e25 100644
|
| --- a/rietveld.py
|
| +++ b/rietveld.py
|
| @@ -83,20 +83,6 @@
|
| data = json.loads(self.get(url, retry_on_404=True))
|
| data['description'] = '\n'.join(data['description'].strip().splitlines())
|
| return data
|
| -
|
| - def get_depends_on_patchset(self, issue, patchset):
|
| - """Returns the patchset this patchset depends on if it exists."""
|
| - url = '/%d/patchset/%d/get_depends_on_patchset' % (issue, patchset)
|
| - resp = None
|
| - try:
|
| - resp = json.loads(self.get(url))
|
| - except urllib2.HTTPError:
|
| - # The get_depends_on_patchset endpoint does not exist on this Rietveld
|
| - # instance yet. Ignore the error and proceed.
|
| - # TODO(rmistry): Make this an error when all Rietveld instances have
|
| - # this endpoint.
|
| - pass
|
| - return resp
|
|
|
| def get_patchset_properties(self, issue, patchset):
|
| """Returns the patchset properties."""
|
| @@ -691,9 +677,6 @@
|
| def get_patchset_properties(self, issue, patchset):
|
| return self._rietveld.get_patchset_properties(issue, patchset)
|
|
|
| - def get_depends_on_patchset(self, issue, patchset):
|
| - return self._rietveld.get_depends_on_patchset(issue, patchset)
|
| -
|
| def get_patch(self, issue, patchset):
|
| return self._rietveld.get_patch(issue, patchset)
|
|
|
|
|