diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2014-10-26 06:21:12 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2014-10-26 06:21:12 +0100 |
commit | f042d2f67c51c0de8d300ef6b1ee36ff5088cdc4 (patch) | |
tree | 73f44ca8462a42aef8a74c13ac24d0146afb87dc /gitlab.py | |
parent | fa9215504d8b6dae2c776733721c718f2a1f2e1a (diff) | |
download | gitlab-f042d2f67c51c0de8d300ef6b1ee36ff5088cdc4.tar.gz |
ProjectLabel: use name as id attribute
Diffstat (limited to 'gitlab.py')
-rw-r--r-- | gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -970,11 +970,11 @@ class ProjectMilestone(GitlabObject): class ProjectLabel(GitlabObject): _url = '/projects/%(project_id)s/labels' requiredUrlAttrs = ['project_id'] + idAttr = 'name' requiredDeleteAttrs = ['name'] requiredCreateAttrs = ['name', 'color'] # FIXME: new_name is only valid with update optionalCreateAttrs = ['new_name'] - shortPrintAttr = 'name' class ProjectFile(GitlabObject): |