You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/08/26 05:21:28 UTC

libcloud git commit: Fix NameError - 'body' is not defined Closes #853

Repository: libcloud
Updated Branches:
  refs/heads/trunk 0846fe4cc -> f4c09c9af


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/f4c09c9a
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f4c09c9a
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f4c09c9a

Branch: refs/heads/trunk
Commit: f4c09c9af0727705a8f20372e5437666953c0067
Parents: 0846fe4
Author: Steve Gregory <co...@steve-gregory.com>
Authored: Fri Aug 19 15:20:19 2016 -0700
Committer: Anthony Shaw <an...@apache.org>
Committed: Fri Aug 26 15:21:11 2016 +1000

----------------------------------------------------------------------
 libcloud/common/openstack_identity.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f4c09c9a/libcloud/common/openstack_identity.py
----------------------------------------------------------------------
diff --git a/libcloud/common/openstack_identity.py b/libcloud/common/openstack_identity.py
index 26e7296..7854987 100644
--- a/libcloud/common/openstack_identity.py
+++ b/libcloud/common/openstack_identity.py
@@ -1058,6 +1058,7 @@ class OpenStackIdentity_3_0_Connection(OpenStackIdentityConnection):
                                              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)