summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-05-31 10:47:03 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-06-10 07:39:58 -0700
commitc7bcc25a361f9df440f9c972672e5eec3b057625 (patch)
treede9bc431060437fe259115c920c67389a0cccb5f /gitlab/cli.py
parent161bb0bf1684374ed01c4e3bc8ebc2f5afe7546b (diff)
downloadgitlab-c7bcc25a361f9df440f9c972672e5eec3b057625.tar.gz
fix: catch invalid type used to initialize RESTObject
Sometimes we have errors where we don't get a dictionary passed to RESTObject.__init__() method. This breaks things but in confusing ways. Check in the __init__() method and raise an exception if it occurs.
Diffstat (limited to 'gitlab/cli.py')
0 files changed, 0 insertions, 0 deletions