summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--gitlab.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c25108..c43b2ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ Version 0.4
* Fix strings encoding (Closes #6)
* Allow to get a project commit (GitLab 6.1)
+ * ProjectMergeRequest: fix Note() method
Version 0.3
diff --git a/gitlab.py b/gitlab.py
index 897a178..78af89d 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -748,7 +748,7 @@ class ProjectMergeRequest(GitlabObject):
def Note(self, id=None, **kwargs):
return self._getListOrObject(ProjectMergeRequestNote, id,
- project_id=self.id,
+ project_id=self.project_id,
merge_request_id=self.id,
**kwargs)