diff options
author | Mika Mäenpää <mika.j.maenpaa@tut.fi> | 2014-12-05 10:56:11 +0200 |
---|---|---|
committer | Mika Mäenpää <mika.j.maenpaa@tut.fi> | 2014-12-05 10:56:11 +0200 |
commit | 72eb744c4408871178c05726570ef8fdca64bb8a (patch) | |
tree | 6ed0fe93a9d71b049f451524d0582249294d96a9 /gitlab.py | |
parent | 8e13487dfe7a480da8d40892699d0914bbb53f3d (diff) | |
download | gitlab-72eb744c4408871178c05726570ef8fdca64bb8a.tar.gz |
Added missing optionalCreateAttrs for ProjectIssue. Fixed typo in ProjectTag.
Diffstat (limited to 'gitlab.py')
-rw-r--r-- | gitlab.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -913,8 +913,9 @@ class ProjectIssue(GitlabObject): canDelete = False requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['title'] + # FIXME: state_event is only valid with update optionalCreateAttrs = ['description', 'assignee_id', 'milestone_id', - 'labels'] + 'labels', 'state_event'] shortPrintAttr = 'title' @@ -949,7 +950,7 @@ class ProjectTag(GitlabObject): canUpdate = False requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['tag_name', 'ref'] - optionalCreateattrs = ['message'] + optionalCreateAttrs = ['message'] shortPrintAttr = 'name' |