diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-23 19:11:28 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-23 19:11:28 +0100 |
| commit | 1ecb7399ad2fb469781068208f787818aa52eec2 (patch) | |
| tree | 52d8b5f47a94191849fbf63ae652968638053583 /gitlab/__init__.py | |
| parent | 9709d79f98eccee2a9f821f9fcc9dfbd5b55b70b (diff) | |
| download | gitlab-1ecb7399ad2fb469781068208f787818aa52eec2.tar.gz | |
fix ProjectLabel get and delete
Diffstat (limited to 'gitlab/__init__.py')
| -rw-r--r-- | gitlab/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index a13c951..d8ee5bf 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -454,7 +454,7 @@ class Gitlab(object): raise GitlabDeleteError('Missing attribute(s): %s' % ", ".join(missing)) - obj_id = params[obj.idAttr] + obj_id = params[obj.idAttr] if obj._id_in_delete_url else None url = self._construct_url(id_=obj_id, obj=obj, parameters=params) headers = self._create_headers() |
