diff options
author | Mathieu Parent <math.parent@gmail.com> | 2019-11-14 10:37:18 +0100 |
---|---|---|
committer | Mathieu Parent <math.parent@gmail.com> | 2019-11-14 10:38:01 +0100 |
commit | 727f53619dba47f0ab770e4e06f1cb774e14f819 (patch) | |
tree | 90c7bb22efa134c69980f35a3b163249145194b0 /docs/api-objects.rst | |
parent | 960888628617beae75392dcdcb6ef5a66abd976d (diff) | |
download | gitlab-727f53619dba47f0ab770e4e06f1cb774e14f819.tar.gz |
fix(labels): ensure label.save() works
Otherwise, we get:
File "gitlabracadabra/mixins/labels.py", line 67, in _process_labels
current_label.save()
File "gitlab/exceptions.py", line 267, in wrapped_f
return f(*args, **kwargs)
File "gitlab/v4/objects.py", line 896, in save
self._update_attrs(server_data)
File "gitlab/base.py", line 131, in _update_attrs
self.__dict__["_attrs"].update(new_attrs)
TypeError: 'NoneType' object is not iterable
Because server_data is None.
Diffstat (limited to 'docs/api-objects.rst')
0 files changed, 0 insertions, 0 deletions