summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-09-21 21:45:29 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-09-21 21:45:53 +0200
commit7d6f3d0cd5890c8a71704419e78178ca887357fe (patch)
treee32b2343719c8ec2add27d7e1a9098c2e8b41600
parentd321847b90ea88b66f1c01fc2798048a6a7766dc (diff)
downloadgitlab-7d6f3d0cd5890c8a71704419e78178ca887357fe.tar.gz
CommitStatus: `sha` is parent attribute
Fixes #316
-rw-r--r--gitlab/v4/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 349fe16..0387815 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -735,7 +735,7 @@ class ProjectCommitStatusManager(GetFromListMixin, CreateMixin, RESTManager):
'/statuses')
_obj_cls = ProjectCommitStatus
_from_parent_attrs = {'project_id': 'project_id', 'commit_id': 'id'}
- _create_attrs = (('state', 'sha'),
+ _create_attrs = (('state', ),
('description', 'name', 'context', 'ref', 'target_url',
'coverage'))