Skip to content

Commit 4006ab2

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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)