Skip to content

Commit

Permalink
MR merge(): update the object
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Aug 7, 2016
1 parent d7967c6 commit 799b593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/objects.py
Expand Up @@ -1484,7 +1484,7 @@ def merge(self, merge_commit_message=None,
errors = {401: GitlabMRForbiddenError,
405: GitlabMRClosedError}
raise_error_from_response(r, errors)
return ProjectMergeRequest(self, r.json())
self._set_from_dict(r.json())


class ProjectMergeRequestManager(BaseManager):
Expand Down

0 comments on commit 799b593

Please sign in to comment.