summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-10-12 22:31:55 +0200
committerMax Wittig <max.wittig@siemens.com>2020-10-12 22:38:02 +0200
commite1e0d8cbea1fed8aeb52b4d7cccd2e978faf2d3f (patch)
tree1025d99639dcbf521e080e69a401476d08338fac /gitlab/base.py
parent3a38c6d78ceaed1116ebbdd8e5cded60c99c6f95 (diff)
downloadgitlab-fix/delete-attr.tar.gz
fix(base): really refresh objectfix/delete-attr
This fixes and error, where deleted attributes would not show up Fixes #1155
Diffstat (limited to 'gitlab/base.py')
-rw-r--r--gitlab/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index 40bc06c..ad35339 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -131,7 +131,7 @@ class RESTObject(object):
def _update_attrs(self, new_attrs):
self.__dict__["_updated_attrs"] = {}
- self.__dict__["_attrs"].update(new_attrs)
+ self.__dict__["_attrs"] = new_attrs
def get_id(self):
"""Returns the id of the resource."""