From 11f3654f6e29c8d66a0ef550963056b70bc100d3 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 26 Jun 2014 18:09:24 -0500 Subject: Fix PEP8 E265 errors Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a --- openstackclient/common/restapi.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'openstackclient/common') 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 -- cgit v1.2.1