summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 14:30:34 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 14:30:34 +0200
commit8374bcc341eadafb8c7fbb2920d7f001a5a43b63 (patch)
tree84ee003363840e451c2a1f7a205b700b5533ecbb
parente901f440d787c1fd43fdba1838a1f37066329ccf (diff)
downloadgitlab-8374bcc341eadafb8c7fbb2920d7f001a5a43b63.tar.gz
Fix the participants() decorator
-rw-r--r--gitlab/mixins.py2
-rw-r--r--gitlab/v4/objects.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py
index 7148ccd..7119aef 100644
--- a/gitlab/mixins.py
+++ b/gitlab/mixins.py
@@ -548,7 +548,7 @@ class TimeTrackingMixin(object):
class ParticipantsMixin(object):
- @cli.register_custom_action('ProjectMergeRequest', 'ProjectIssue')
+ @cli.register_custom_action(('ProjectMergeRequest', 'ProjectIssue'))
@exc.on_http_error(exc.GitlabListError)
def participants(self, **kwargs):
"""List the participants.
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 2be505e..e4c503f 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -1505,7 +1505,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager):
_create_attrs = (('title', ),
('description', 'confidential', 'assignee_id',
'assignee_idss' 'milestone_id', 'labels', 'created_at',
- 'due_date', 'merge_request_to_resolve_discussions_of' ,
+ 'due_date', 'merge_request_to_resolve_discussions_of',
'discussion_to_resolve'))
_update_attrs = (tuple(), ('title', 'description', 'confidential',
'assignee_ids', 'assignee_id', 'milestone_id',