summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index e17be64..59318f8 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -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):