Fix NameError - 'body' is not defined Closes #853
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/fda761fe Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/fda761fe Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/fda761fe Branch: refs/heads/trunk Commit: fda761fe002a547a1944c326240e626e4fcf0cf3 Parents: d358afe Author: Steve Gregory <[email protected]> Authored: Fri Aug 19 15:20:19 2016 -0700 Committer: Anthony Shaw <[email protected]> Committed: Mon Sep 5 21:39:01 2016 +1000 ---------------------------------------------------------------------- libcloud/common/openstack_identity.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/fda761fe/libcloud/common/openstack_identity.py ---------------------------------------------------------------------- diff --git a/libcloud/common/openstack_identity.py b/libcloud/common/openstack_identity.py index 7854987..05f53c4 100644 --- a/libcloud/common/openstack_identity.py +++ b/libcloud/common/openstack_identity.py @@ -1480,6 +1480,7 @@ class OpenStackIdentity_3_0_Connection_OIDC_access_token( missing required elements', e) body = 'code: %s body:%s' % (response.status, response.body) else: + body = 'code: %s body:%s' % (response.status, response.body) raise MalformedResponseError('Malformed response', body=body, driver=self.driver)
