diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2014-06-26 18:09:24 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2014-06-27 09:12:55 -0500 |
| commit | 11f3654f6e29c8d66a0ef550963056b70bc100d3 (patch) | |
| tree | 37286f9005a308ac13da5ad3bb026d3fe5e57b46 /openstackclient/common | |
| parent | a78d75f290278501b5d8130dc58420952a13e1a1 (diff) | |
| download | python-openstackclient-11f3654f6e29c8d66a0ef550963056b70bc100d3.tar.gz | |
Fix PEP8 E265 errors
Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
Diffstat (limited to 'openstackclient/common')
| -rw-r--r-- | openstackclient/common/restapi.py | 10 |
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 |
