libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject libcloud git commit: Fix NameError - 'body' is not defined Closes #853
Date Fri, 26 Aug 2016 05:21:28 GMT
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 <contact@steve-gregory.com>
Authored: Fri Aug 19 15:20:19 2016 -0700
Committer: Anthony Shaw <anthonyshaw@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)
 


Mime
View raw message