FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ProjectMergeRequest: fix Note() method · python-gitlab/python-gitlab@4006ab2 · GitHub

Repository navigation

Commit 4006ab2

Browse files
Gauvain Pocentek
committed
ProjectMergeRequest: fix Note() method
1 parent 6b0c678 commit 4006ab2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎ChangeLog‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Version 0.4
22

33
* Fix strings encoding (Closes #6)
44
* Allow to get a project commit (GitLab 6.1)
5+
* ProjectMergeRequest: fix Note() method
56

67
Version 0.3
78

‎gitlab.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class ProjectMergeRequest(GitlabObject):
748748

749749
def Note(self, id=None, **kwargs):
750750
return self._getListOrObject(ProjectMergeRequestNote, id,
751-
project_id=self.id,
751+
project_id=self.project_id,
752752
merge_request_id=self.id,
753753
**kwargs)
754754

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL