summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-03-07 15:17:33 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-03-07 15:17:33 -0800
commit8224b4066e84720d7efed3b7891c47af73cc57ca (patch)
tree9b5d08c0d85bd177ce94ffec7c2a2fef8d22ea45 /gitlab/mixins.py
parentde73ea7933d3f3c94aa27a7d9b9ea7bfd64ad1f1 (diff)
downloadgitlab-8224b4066e84720d7efed3b7891c47af73cc57ca.tar.gz
fix: checking if RESTManager._from_parent_attrs is set
Prior to commit 3727cbd21fc40b312573ca8da56e0f6cf9577d08 RESTManager._from_parent_attrs did not exist unless it was explicitly set. But commit 3727cbd21fc40b312573ca8da56e0f6cf9577d08 set it to a default value of {}. So the checks using hasattr() were no longer valid. Update the checks to check if RESTManager._from_parent_attrs has a value.
Diffstat (limited to 'gitlab/mixins.py')
0 files changed, 0 insertions, 0 deletions