summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/common')
-rw-r--r--openstackclient/common/restapi.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/openstackclient/common/restapi.py b/openstackclient/common/restapi.py
index 1bb64fae..f20ad23d 100644
--- a/openstackclient/common/restapi.py
+++ b/openstackclient/common/restapi.py
@@ -251,16 +251,6 @@ class RESTApi(object):
else:
return response.json()
- ###hack this for keystone!!!
- #data = body[response_key]
- # NOTE(ja): keystone returns values as list as {'values': [ ... ]}
- # unlike other services which just return the list...
- #if isinstance(data, dict):
- # try:
- # data = data['values']
- # except KeyError:
- # pass
-
def set(self, url, data=None, response_key=None, **kwargs):
"""Update an object via a PUT request